Mercurial > p > roundup > code
comparison doc/rest.txt @ 6675:7542269becfa
Fix cache time week -> day.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 12 May 2022 17:25:09 -0400 |
| parents | ff8845ca305e |
| children | ab2ed11c021e |
comparison
equal
deleted
inserted
replaced
| 6674:ff8845ca305e | 6675:7542269becfa |
|---|---|
| 231 valid mime types (usually `application/x-www-form-urlencoded, | 231 valid mime types (usually `application/x-www-form-urlencoded, |
| 232 multipart/form-data`) will be included. | 232 multipart/form-data`) will be included. |
| 233 | 233 |
| 234 It will also include rate limit headers since the request is included | 234 It will also include rate limit headers since the request is included |
| 235 in the rate limit for the URL. The results from the CORS preflight | 235 in the rate limit for the URL. The results from the CORS preflight |
| 236 should be cached for a week so preflight requests are not expected to | 236 should be cached for a day so preflight requests are not expected to |
| 237 cause a problem. If it is an issue, you can see | 237 cause a problem. If it is an issue, you can see |
| 238 `Creating Custom Rate Limits`_ | 238 `Creating Custom Rate Limits`_ |
| 239 and craft a rate limiter that ignores anonymous OPTIONS requests. | 239 and craft a rate limiter that ignores anonymous OPTIONS requests. |
| 240 | 240 |
| 241 Support for filtering by ORIGIN is not included. If you want to add | 241 Support for filtering by ORIGIN is not included. If you want to add |
