[BUG][Java][Spring] Make HTTP header matching case insensitive
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
Research direction
Open modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java near the implicitHeadersRegex definition linked in the issue. Check the regex construction and nearby tests, then make matching case insensitive. Done means header matching works regardless of capitalization and the relevant tests pass.
Written by the indexing model from the issue text.
Description
HTTP headers are case insensitive. We should make implicitHeadersRegex be case insensitive. Otherwise, users have to discover the implementation is not case insensitive, usually a bit too late after debugging some issue.
For example, by adding the case insensitive flag.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 185
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenAPITools/openapi-generator
-
[BUG][KOTLIN] jvm-retrofit2: DELETE with requestBody fails with "Non-body HTTP method cannot contain @Body"Possibly taken @cpruijsen claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
OpenAPITools/openapi-generator#25454 ·
Maintainers usually reply within 1 day
-
Enhancement: Feature
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenAPITools/openapi-generator#25425 ·
Maintainers usually reply within 1 day
-
[REQ][JAVA][resteasy] Support for Jackson 3 / useJackson3Possibly taken A pull request linked to this issue is open or already merged. OpenEnhancement: Feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenAPITools/openapi-generator#25364 ·
Maintainers usually reply within 1 day
-
[BUG][RUST] chrono date-time path/query/header params are not serialized as RFC 3339Possibly taken @teovillanueva claimed this 12 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenAPITools/openapi-generator#25297 ·
Maintainers usually reply within 1 day
-
[BUG][RUST] Reqwest - encoding of spaces in path parametersPossibly taken @GlenWright claimed this 15 days ago. OpenIssue: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenAPITools/openapi-generator#25257 · 3 comments ·
Maintainers usually reply within 1 day
All issues in OpenAPITools/openapi-generator
Similar issues
-
[BUG] micronaut-serde-oracle-jdbc-json brings a second OJDBC driver onto the runtime classpathPossibly taken @ZARAYACH claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
micronaut-projects/micronaut-serialization#1494 · 4 comments ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 2 days
-
code-health feature/sync OS/Android QA/Test-Plan-Specified QA/Yes
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
brave/brave-browser#60327 ·
Maintainers usually reply within 1 day
-
Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
it-at-m/raumreservierung#383 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aws/context-ontology-accelerator#325 ·
Maintainers usually reply within 1 day