You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mikeal Been playing around with filed and request in conjunction with a Rackspace Cloudfiles client and I realized that adding Request.prototype.setHeader()would create a really elegant:
Cloudfiles (and S3 I believe) expect incoming headers content-type and content-length which filed will set automatically for http.ServerResponse objects, but not for Request objects. Adding Request.prototype.setHeader() here and a minor change in filed would do the trick.
Thoughts?
The text was updated successfully, but these errors were encountered:
@mikeal Been playing around with
filed
andrequest
in conjunction with a Rackspace Cloudfiles client and I realized that addingRequest.prototype.setHeader()
would create a really elegant:Cloudfiles (and S3 I believe) expect incoming headers
content-type
andcontent-length
whichfiled
will set automatically forhttp.ServerResponse
objects, but not forRequest
objects. AddingRequest.prototype.setHeader()
here and a minor change infiled
would do the trick.Thoughts?
The text was updated successfully, but these errors were encountered: