http - Is absence of If-Match or If-Not-Match header shall be treated as unconditional request? -


http 1.1 spec has clear definition of server behavior if 1 of them present. in case, have 2 clients, 1 old , 1 new. old client ignores etag in response, , sends put request without etag; new client uses if-match + etag in put request. understanding server shall take put request without if-match unconditional request , proceed. however, consequence of without etag, old client might put request based on old data. have question in titie, "is absence of if-match or if-not-match header shall treated unconditional request?"

well. request unconditional when doesn't have conditions attached it. base set of conditional request header fields defines in http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p4-conditional-25.html, extension specs such webdav add more.

whether server accepts unconditional request story, see http://greenbytes.de/tech/webdav/rfc6585.html#status-428.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -