Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HttpLibrary and multipart/form-data messages Boundaries are altered #22

Open
grainnewallace opened this issue Jul 10, 2013 · 4 comments

Comments

@grainnewallace
Copy link

This issue was initially raised in the robot -framework users forum:

https://groups.google.com/forum/#!topic/robotframework-users/DB-mFNlAy3o

Robot Framework version: 2.7.5
robotframework_httplibrary-0.4.1

When I send a HTTP Post request using httpLibrary of a multi-part form data message type the additional boundaries get added which corrupts the message:
When I sent the message to Fiddler this is what I get:

The boundary am I using is 8d030e3574841ed
The extra content added by http library is ------------a_BoUnDaRy622531459405$

POST http://127.0.0.1:8888/ClinicalDataService/api/Documents HTTP/1.1
Accept-Encoding: identity
Host: 127.0.0.1:8888
Content-Type: multipart/form-data;boundary=8d030e3574841ed
Content-Length: 43732

------------a_BoUnDaRy622531459405$
Content-Disposition: form-data; name="
--8d030e3574841ed
Content-Disposition: form-data"

------------a_BoUnDaRy622531459405$
Content-Disposition: form-data; name=" name"

"metadata"
Content-Type: application/json

@peritus
Copy link
Owner

peritus commented Jul 10, 2013

Possibly related to #13

@peritus
Copy link
Owner

peritus commented Jul 10, 2013

Also, I have no idea why httplibrary (or webtest) would do that.

@vinaybond
Copy link

Is this resolved?

@rarajabs
Copy link

not sure if this MarketSquare/robotframework-requests#10 can solve the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants