Skip to content

add httpFieldName function#153

Open
mbricaud49 wants to merge 3 commits into
OpenPrinting:masterfrom
mbricaud49:feature/http-field-name-creation
Open

add httpFieldName function#153
mbricaud49 wants to merge 3 commits into
OpenPrinting:masterfrom
mbricaud49:feature/http-field-name-creation

Conversation

@mbricaud49

Copy link
Copy Markdown

I added a new httpFieldName() function to convert a http_field_t value to its corresponding HTTP header name.

This complements httpFieldValue(), providing bidirectional conversion between HTTP header names and http_field_t values and it will simplify libcups integration.

@michaelrsweet michaelrsweet self-assigned this Jul 6, 2026
@michaelrsweet michaelrsweet added the enhancement New feature or request label Jul 6, 2026
@michaelrsweet michaelrsweet added this to the Future milestone Jul 6, 2026
@michaelrsweet

Copy link
Copy Markdown
Member

Not before v3.1.

Also, in keeping with the other API naming this should be named httpFieldString.

@michaelrsweet

Copy link
Copy Markdown
Member

Oh, and please make sure to sign your commits with your GPG signature... Thanks!

@mbricaud49 mbricaud49 force-pushed the feature/http-field-name-creation branch from 5103214 to b372708 Compare July 7, 2026 08:37
@mbricaud49

Copy link
Copy Markdown
Author

I changed the name of the function + signed and rebased the previous commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants