Skip to content

Enforce typing style for RequestHeader docs #247

@nickvergessen

Description

@nickvergessen

The suggestion is to enforce a certain casing for the headers for consistency.
Suggestion:

  • only lowercase and -
  • only lowercase and _
  • only uppercase and _

IRequest::getHeader() unifies it to that anyway: https://github.com/nextcloud/server/blob/9836e9b16484582d309c8437ab46d82e34956941/lib/private/AppFramework/Http/Request.php#L262
So it's just a matter of clear / aligned documentation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions