|
|
| Line 286: |
Line 286: |
|
| |
|
| 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 (or a different value defined by the implementation) 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.
| |