Skip to content

Document use422ForNoDataStatusCode on the feature flags page - #106

Merged
ChrisJohnNOAA merged 1 commit into
ERDDAP:mainfrom
Satyam087:docs/use422-no-data-flag
Sep 30, 2026
Merged

ChrisJohnNOAA merged 1 commit into
ERDDAP:mainfrom
Satyam087:docs/use422-no-data-flag

Conversation

@Satyam087

Copy link
Copy Markdown
Contributor

Documents the use422ForNoDataStatusCode flag added in ERDDAP/erddap#606, as @ChrisJohnNOAA asked for on that PR.

It shapes an HTTP response rather than dataset or metadata behavior, so it sits under Web Headers/Configuration next to useHeadersForUrl and enableCors rather than needing a page of its own. The entry follows the existing format: Lifecycle Stable, Current Default false, Long-term Goal "set as desired" (matching enableCors, since this is an admin preference rather than a value to converge on).

I put Added in 2.32.0 in the History row based on the version in the ERDDAP pom. Happy to change it if that PR is going to land in a different release, and this should probably only merge once it does.

One thing worth flagging separately: npm run build currently fails on a clean checkout of main, before any of my changes, while compiling i18n/ur/docusaurus-plugin-content-docs/current/server-admin/datasets.md:

Cause: Can't parse URL http://global"۔ with base unspecified://

It looks like an Urdu full stop ended up appended to a URL in that translation. The same "Build site" step is failing in your own recent CI runs, so I do not think it is new, but it does mean CI on this PR will be red for reasons unrelated to it. I verified the failure is present with and without my change. Happy to open a separate issue or a fix for that translation file if it would help.

Follow-up to ERDDAP/erddap#606, which adds the flag. It shapes an HTTP
response, so it sits with useHeadersForUrl and enableCors under Web
Headers/Configuration.

@ChrisJohnNOAA ChrisJohnNOAA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the documentation!

@ChrisJohnNOAA
ChrisJohnNOAA merged commit 5fb1258 into ERDDAP:main Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants