./lib/ews/transporter.rb in exact4r-1.5 vs ./lib/ews/transporter.rb in exact4r-1.6
- old
+ new
@@ -54,10 +54,10 @@
transport_details = @@transport_types[transport_type]
request = build_http_request(transaction, transport_type, transport_details[:suffix])
request.basic_auth(transaction.gateway_id, transaction.password)
request.add_field "Accept", transport_details[:content_type]
- request.add_field "User-Agent", "exact4r v1.5"
+ request.add_field "User-Agent", "exact4r v1.6"
request.add_field "Content-type", "#{transport_details[:content_type]}; charset=UTF-8"
response = get_connection.request(request)
case response