QUTlib / rest-rmr

A RESTful RMR framework
Apache License 2.0
4 stars 1 forks source link

add Content-MD5 Header support #8

Closed phluid61 closed 11 years ago

phluid61 commented 11 years ago

"A Base64-encoded binary MD5 sum of the content of the request body" -- http://en.wikipedia.org/wiki/List_of_HTTP_header_fields

http://www.ietf.org/rfc/rfc1864.txt

phluid61 commented 11 years ago

Added on Response side.

Not sure how it can be added on the Request side, since Apache/PHP hide the raw entity body from me most of the time.

phluid61 commented 11 years ago

Added in Request::entity_body(), which is the only place I can get close enough to the bare metal. Still many issues will remain regarding multipart encodings, etc.