reportportal / agent-ruby

Agent - Ruby Cucumber and RSpec formatters
Apache License 2.0
15 stars 43 forks source link

report portal attachments headers warning #53

Closed vveliev-tc closed 5 years ago

vveliev-tc commented 5 years ago

When sending attachments to the report portal getting spammed with following messages:

/usr/local/bundle/gems/rest-client-2.0.2/lib/restclient/request.rb:377:in `block in make_headers' : warning: Overriding "Content-Type" header "multipart/form-data" with "multipart/form-data; boundary=----RubyFormBoundaryj9XBAUHQ380R1EQ9" due to payload (StructuredWarnings::StandardWarning) 
vveliev-tc commented 5 years ago

should be fixed in #59

abotalov commented 5 years ago

RestClient library was replaced with HTTP.rb in master. There is no warning anymore.