Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#27616 closed Uncategorized (fixed)

HTTP_X_REQUESTED_WITH should be X-Requested-With in request-response.txt

Reported by: David Houlder Owned by: nobody
Component: Uncategorized Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

docs/ref/request-response.txt suggests calling

vary_on_headers('HTTP_X_REQUESTED_WITH')

but that results in the HTTP response containing

Vary: HTTP_X_REQUESTED_WITH,Cookie

instead of

Vary: X-Requested-With,Cookie

Attachments (1)

request-response.diff (625 bytes ) - added by David Houlder 8 years ago.

Download all attachments as: .zip

Change History (5)

by David Houlder, 8 years ago

Attachment: request-response.diff added

comment:1 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: newclosed

In 5e239ae:

Fixed #27616 -- Fixed incorrect vary_on_headers() example.

comment:2 by Tim Graham <timograham@…>, 8 years ago

In 7418690b:

[1.9.x] Fixed #27616 -- Fixed incorrect vary_on_headers() example.

Backport of 5e239ae907291d07a3fcf9329f83c27fa6d72981 from master

comment:3 by Tim Graham <timograham@…>, 8 years ago

In c9ba345:

[1.8.x] Fixed #27616 -- Fixed incorrect vary_on_headers() example.

Backport of 5e239ae907291d07a3fcf9329f83c27fa6d72981 from master

comment:4 by Tim Graham <timograham@…>, 8 years ago

In 54cce02:

[1.10.x] Fixed #27616 -- Fixed incorrect vary_on_headers() example.

Backport of 5e239ae907291d07a3fcf9329f83c27fa6d72981 from master

Note: See TracTickets for help on using tickets.
Back to Top