for-GET / machine

Reference (NodeJS) implementation of the state machine described by HTTP decision diagram v4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Representation in POST X-HTTP-Method-Override=GET

andreineculau opened this issue · comments

It is not clear how a representation should be treated when doing a GET via a POST.

URI length constraints (~2K) might trigger this, and send the query as a representation instead.

Unthought suggestion:
#1 if the representation is of a certain media-type, then treat is the real query (override querystring)
#2 otherwise, delete content-* headers and representation from request