lib/minitel/client.rb in minitel-0.4.0 vs lib/minitel/client.rb in minitel-0.5.0
- old
+ new
@@ -9,10 +9,11 @@
unless telex_url.start_with? "https://"
raise ArgumentError, "Bad Url"
end
self.connection = Excon.new(telex_url,
:headers => {
- "User-Agent" => "minitel/#{Minitel::VERSION} excon/#{Excon::VERSION}"
+ "User-Agent" => "minitel/#{Minitel::VERSION} excon/#{Excon::VERSION}",
+ "Content-Type" => "application/json"
}
)
end
def notify_app(args)