Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Helper for parsing headers attributes#92

Open
JanTvrdik wants to merge 1 commit intonette:master from
JanTvrdik:pr/header_params
Open

Helper for parsing headers attributes #92
JanTvrdik wants to merge 1 commit intonette:master from
JanTvrdik:pr/header_params

Conversation

@JanTvrdik
Copy link
Contributor

@JanTvrdik JanTvrdik commented May 1, 2016

I'm missing a helper for parsing headers, i.e something that turns attachment; filename="example.php" into [filename => 'example.php']

@dg
Copy link
Member

dg commented May 1, 2016

Can you add it?

Copy link
Contributor

fprochazka commented May 1, 2016
edited
Loading

@JanTvrdik Is there a standard for this? I haven't looked myself.

Shouldn't it be more something like [attachment => NULL, filename => 'example.php'] ?

Copy link
Contributor Author

I'll, try to send PR today.

Copy link
Contributor

Majkl578 commented May 1, 2016
edited
Loading

Is there a standard for this?

It depends afaik. There is standard for Accept headers as well as Content-Type header (RFC 7231) at least.

Copy link
Contributor Author

JanTvrdik commented May 1, 2016
edited
Loading

It's not in one place, but if summarized, it leads to http://search.cpan.org/~ether/HTTP-Message-6.11/lib/HTTP/Headers/Util.pm

Copy link
Contributor Author

JanTvrdik commented May 1, 2016
edited
Loading

Majkl578, JanTvrdik, and fprochazka reacted with confused emoji

@dg dg force-pushed the master branch 2 times, most recently from 7981e33 to 3fb64f5 Compare July 21, 2016 12:07
@dg dg force-pushed the master branch 3 times, most recently from b9f06ea to 4f6d6c9 Compare December 20, 2016 14:30
@dg dg force-pushed the master branch 3 times, most recently from 2ff2f22 to 40175d7 Compare January 9, 2017 19:55
@dg dg force-pushed the master branch 12 times, most recently from 9c1fce0 to 96a1c05 Compare January 24, 2017 00:36
@dg dg force-pushed the master branch 5 times, most recently from 55488bd to 2042d2e Compare December 11, 2023 13:01
@dg dg force-pushed the master branch 2 times, most recently from 4960652 to 5e67add Compare May 2, 2024 10:56
@dg dg force-pushed the master branch 5 times, most recently from 689f4ae to 33aae19 Compare November 5, 2024 06:45
@dg dg force-pushed the master branch 4 times, most recently from 09923de to 02ae846 Compare January 16, 2025 04:45
@dg dg force-pushed the master branch 7 times, most recently from dc02250 to 80e8e2b Compare December 30, 2025 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /