Confirmed users
927
edits
Tarek.ziade (talk | contribs) (→GET) |
Tarek.ziade (talk | contribs) |
||
Line 328: | Line 328: | ||
== X-Weave-Records == | == X-Weave-Records == | ||
If supported by the db, this header will return the number of records total in the request body of any multiple-record GET request. | If supported by the db, this header will return the number of records total in the request body of any multiple-record GET request. | ||
== X-Weave-Quota-Remaining == | |||
This header will be sent back with all PUT and POST requests, if the user has less than one megabyte of space left on the server. It contains the size left (in K). | |||
When there's no more space left for the user, the server will abort any PUT or POST request and return a 400 with a 14 error code, as described in the [https://wiki.mozilla.org/Labs/Weave/1.0/ResponseCodes Weave Response Codes]. The header is still sent back in this case. |