tus / tus-resumable-upload-protocol

Open Protocol for Resumable File Uploads
https://tus.io
MIT License
1.5k stars 102 forks source link

Is the `reason` of response from tus server must match the protocol? #69

Closed FuGangqiang closed 9 years ago

FuGangqiang commented 9 years ago

of course the status code must be the same to the protocol, but what about the reason part?

Is it also must same to the protocol?

Acconut commented 9 years ago

The specification defined status codes plus the reason, e.g. 200 OK. While client implementations checking for the reason are rare, we recommend to use the standardized reasons. Especially since HTTP/2 does not support reasons any more, see http://evertpot.com/http-2-finalized/.

FuGangqiang commented 9 years ago

thanks for the reply.

Acconut commented 9 years ago

No problem :)