René's URL Explorer Experiment


Title: org.springframework.test.web.servlet.assertj.AbstractHttpServletResponseAssert#headers case sensitivity · Issue #36349 · spring-projects/spring-framework · GitHub

Open Graph Title: org.springframework.test.web.servlet.assertj.AbstractHttpServletResponseAssert#headers case sensitivity · Issue #36349 · spring-projects/spring-framework

X Title: org.springframework.test.web.servlet.assertj.AbstractHttpServletResponseAssert#headers case sensitivity · Issue #36349 · spring-projects/spring-framework

Description: In process of adopting MockMvcTester for controller testing I found that assertThat(mockMvcTester.get("/....")...).headers().hasValue("cache-control", "public") //fails! assertThat(mockMvcTester.get("/....")...).matches(MockMvcResultMatc...

Open Graph Description: In process of adopting MockMvcTester for controller testing I found that assertThat(mockMvcTester.get("/....")...).headers().hasValue("cache-control", "public") //fails! assertThat(mockMvcTester.ge...

X Description: In process of adopting MockMvcTester for controller testing I found that assertThat(mockMvcTester.get("/....")...).headers().hasValue("cache-control", "public") //fail...

Opengraph URL: https://github.com/spring-projects/spring-framework/issues/36349

X: @github

direct link

Domain: redirect.github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"org.springframework.test.web.servlet.assertj.AbstractHttpServletResponseAssert#headers case sensitivity","articleBody":"In process of adopting MockMvcTester for controller testing I found that\n\n```java\nassertThat(mockMvcTester.get(\"/....\")...).headers().hasValue(\"cache-control\", \"public\") //fails!\nassertThat(mockMvcTester.get(\"/....\")...).matches(MockMvcResultMatchers.header().string(\"cache-control\", \"public\")); //passes!\n```\n\nCode inspection shows that `HeaderResultMatchers` works in case sensitive mode and it differs from MockMvcResultMatchers behavior.\n\nPersonally I think it is a bug as headers are considered case insensitve by semantics, but at minimum it should be documented if you consider it as a feature","author":{"url":"https://github.com/zeldigas","@type":"Person","name":"zeldigas"},"datePublished":"2026-02-18T07:36:52Z","url":"https://github.com/spring-projects/spring-framework/issues/36349"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:17777482-1ed6-3d65-1551-5ff2b73d1513
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBEEA:C8434:150418A:1B6F567:6AED770C
html-safe-nonce3a2b94ace99775226df562490fded2c8569a172e49e8fc8e878faf817c01f756
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUVBOkM4NDM0OjE1MDQxOEE6MUI2RjU2Nzo2QUVENzcwQyIsInZpc2l0b3JfaWQiOiI1MjQzMzMzMDQzNTM0MjY0MDc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac50df6de0e0b8eef2d7e97692f8d208afa86ee60767dbacafca28378dbe093cf2
hovercard-subject-tagissue:3956413896
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/spring-projects/spring-framework/36349/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a5b1c23684a96c6fa3368178df8da05bbab1acbd50d67f476483f28d961372a2/spring-projects/spring-framework/issues/36349
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a5b1c23684a96c6fa3368178df8da05bbab1acbd50d67f476483f28d961372a2/spring-projects/spring-framework/issues/36349
og:image:altIn process of adopting MockMvcTester for controller testing I found that assertThat(mockMvcTester.get("/....")...).headers().hasValue("cache-control", "public") //fails! assertThat(mockMvcTester.ge...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezeldigas
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-preview
go-importgithub.com/spring-projects/spring-framework git https://github.com/spring-projects/spring-framework.git
octolytics-dimension-user_id317776
octolytics-dimension-user_loginspring-projects
octolytics-dimension-repository_id1148753
octolytics-dimension-repository_nwospring-projects/spring-framework
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1148753
octolytics-dimension-repository_network_root_nwospring-projects/spring-framework
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://redirect.github.com/spring-projects/spring-framework/issues/36349#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fspring-projects%2Fspring-framework%2Fissues%2F36349
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fspring-projects%2Fspring-framework%2Fissues%2F36349
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=spring-projects%2Fspring-framework
Reloadhttps://redirect.github.com/spring-projects/spring-framework/issues/36349
Reloadhttps://redirect.github.com/spring-projects/spring-framework/issues/36349
Reloadhttps://redirect.github.com/spring-projects/spring-framework/issues/36349
spring-projectshttps://redirect.github.com/spring-projects
spring-frameworkhttps://redirect.github.com/spring-projects/spring-framework
Codehttps://redirect.github.com/spring-projects/spring-framework
Issues301 (301)https://redirect.github.com/spring-projects/spring-framework/issues
Pull requests186 (186)https://redirect.github.com/spring-projects/spring-framework/pulls
Actionshttps://redirect.github.com/spring-projects/spring-framework/actions
Wikihttps://redirect.github.com/spring-projects/spring-framework/wiki
Security and qualityhttps://redirect.github.com/spring-projects/spring-framework/security
Insightshttps://redirect.github.com/spring-projects/spring-framework/pulse
https://redirect.github.com/spring-projects/spring-framework
New issuehttps://redirect.github.com/login?return_to=https://github.com/spring-projects/spring-framework/issues/36349
New issuehttps://redirect.github.com/login?return_to=https://github.com/spring-projects/spring-framework/issues/36349
org.springframework.test.web.servlet.assertj.AbstractHttpServletResponseAssert#headers case sensitivityhttps://redirect.github.com/spring-projects/spring-framework/issues/36349#top
https://redirect.github.com/rstoyanchev
in: testIssues in the test modulehttps://github.com/spring-projects/spring-framework/issues?q=state%3Aopen%20label%3A%22in%3A%20test%22
type: enhancementA general enhancementhttps://github.com/spring-projects/spring-framework/issues?q=state%3Aopen%20label%3A%22type%3A%20enhancement%22
7.0.6https://github.com/spring-projects/spring-framework/milestone/428
https://github.com/zeldigas
zeldigashttps://github.com/zeldigas
on Feb 18, 2026https://github.com/spring-projects/spring-framework/issues/36349#issue-3956413896
spring-projects-issueshttps://redirect.github.com/spring-projects-issues
status: waiting-for-triageAn issue we've not yet triaged or decided onhttps://redirect.github.com/spring-projects/spring-framework/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting-for-triage%22
on Feb 18, 2026https://github.com/spring-projects/spring-framework/issues/36349#event-22875772595
rstoyanchevhttps://redirect.github.com/rstoyanchev
in: testIssues in the test modulehttps://redirect.github.com/spring-projects/spring-framework/issues?q=state%3Aopen%20label%3A%22in%3A%20test%22
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#event-22946425859
https://redirect.github.com/rstoyanchev
rstoyanchevhttps://redirect.github.com/rstoyanchev
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#issuecomment-3933715333
assertj/assertj#2159https://github.com/assertj/assertj/issues/2159
https://redirect.github.com/rstoyanchev
rstoyanchevhttps://redirect.github.com/rstoyanchev
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#issuecomment-3933813520
assertj/assertj#4157https://github.com/assertj/assertj/issues/4157
rstoyanchevhttps://redirect.github.com/rstoyanchev
not plannedhttps://redirect.github.com/spring-projects/spring-framework/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#event-22947199503
rstoyanchevhttps://redirect.github.com/rstoyanchev
for: external-projectNeeds a fix in external projecthttps://redirect.github.com/spring-projects/spring-framework/issues?q=state%3Aopen%20label%3A%22for%3A%20external-project%22
status: waiting-for-triageAn issue we've not yet triaged or decided onhttps://redirect.github.com/spring-projects/spring-framework/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting-for-triage%22
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#event-22947201940
https://redirect.github.com/rstoyanchev
rstoyanchevhttps://redirect.github.com/rstoyanchev
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#issuecomment-3934630629
assertj/assertj#4157 (comment)https://github.com/assertj/assertj/issues/4157#issuecomment-3934406922
rstoyanchevhttps://redirect.github.com/rstoyanchev
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#event-22948879647
rstoyanchevhttps://redirect.github.com/rstoyanchev
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#event-22948881175
rstoyanchevhttps://redirect.github.com/rstoyanchev
type: enhancementA general enhancementhttps://redirect.github.com/spring-projects/spring-framework/issues?q=state%3Aopen%20label%3A%22type%3A%20enhancement%22
for: external-projectNeeds a fix in external projecthttps://redirect.github.com/spring-projects/spring-framework/issues?q=state%3Aopen%20label%3A%22for%3A%20external-project%22
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#event-22948883761
rstoyanchevhttps://redirect.github.com/rstoyanchev
7.0.6https://github.com/spring-projects/spring-framework/milestone/428
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#event-22948885433
rstoyanchevhttps://redirect.github.com/rstoyanchev
completedhttps://redirect.github.com/spring-projects/spring-framework/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
b9a5985https://github.com/spring-projects/spring-framework/commit/b9a59853fa9bca1040688b51873bb4af1a5975b9
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#event-22949080981
pullhttps://redirect.github.com/apps/pull
on Feb 20, 2026https://github.com/spring-projects/spring-framework/issues/36349#event-22950471617
Use case-insensitive comparator in HttpHeadersAsserthttps://github.com/Elyseey/spring-framework/commit/b9a59853fa9bca1040688b51873bb4af1a5975b9
https://docs.github.com/articles/closing-issues-via-commit-messages
b9a5985https://github.com/Elyseey/spring-framework/commit/b9a59853fa9bca1040688b51873bb4af1a5975b9
Sign up for freehttps://redirect.github.com/signup?return_to=https://github.com/spring-projects/spring-framework/issues/36349
Sign in to commenthttps://redirect.github.com/login?return_to=https://github.com/spring-projects/spring-framework/issues/36349
rstoyanchevhttps://redirect.github.com/rstoyanchev
in: testIssues in the test modulehttps://github.com/spring-projects/spring-framework/issues?q=state%3Aopen%20label%3A%22in%3A%20test%22
type: enhancementA general enhancementhttps://github.com/spring-projects/spring-framework/issues?q=state%3Aopen%20label%3A%22type%3A%20enhancement%22
7.0.6https://github.com/spring-projects/spring-framework/milestone/428
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.