asoft
sea

~ tiny vessels of code slowly floating out to sea

Powered by a motorboat called the S.S.Tumblr

1 year ago

@2:38pm

Comments

411s, InputStreams and chunked content

tbje:

Working on our API the other day I came over an incompatibility issue with our front end server and the Dispatch http library. Some web servers does not accept chunked data input by default (nginx for instance) and will reply with a 411 error code.

If you post a file using an InputStream with Dispatch, it will send the data in chunks which is great unless an incompatible server is receiving the data.

Read More

via Trond Bjerkestrand - On software development

  1. coderspiel reblogged this from asoftsea
  2. asoftsea reblogged this from tbje
  3. tbje posted this
blog comments powered by Disqus