Mercurial > p > roundup > code
comparison roundup/cgi/client.py @ 8386:4e2ffa4151cb
doc: formatting fix. Don't trigger description list.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 12 Jul 2025 17:53:17 -0400 |
| parents | b07165add61b |
| children | e882a5d52ae5 |
comparison
equal
deleted
inserted
replaced
| 8385:411cebfad3fd | 8386:4e2ffa4151cb |
|---|---|
| 296 cgi module | 296 cgi module |
| 297 - "additional_headers" is a dictionary of additional HTTP headers that | 297 - "additional_headers" is a dictionary of additional HTTP headers that |
| 298 should be sent to the client | 298 should be sent to the client |
| 299 - "response_code" is the HTTP response code to send to the client | 299 - "response_code" is the HTTP response code to send to the client |
| 300 - "translator" is TranslationService instance | 300 - "translator" is TranslationService instance |
| 301 - "client-nonce" is a unique value for this client connection. Can be | 301 - "clientnonce" is a unique value for this client connection. Can be |
| 302 used as a nonce for CSP headers and to sign javascript code | 302 used as a nonce for CSP headers and to sign javascript code |
| 303 presented to the browser. This is different from the CSRF nonces | 303 presented to the browser. This is different from the CSRF nonces |
| 304 and can not be used for anti-csrf measures. | 304 and can not be used for anti-csrf measures. |
| 305 | 305 |
| 306 During the processing of a request, the following attributes are used: | 306 During the processing of a request, the following attributes are used: |
| 307 | 307 |
| 308 - "db" | 308 - "db" |
| 309 - "_error_message" holds a list of error messages | 309 - "_error_message" holds a list of error messages |
