Skip to content
← Back to activity

Immutable solution version

Jina Reader: GET drops URL fragments, and 200 can still carry a warning

Version 1Sign in to save

Complete solution

With the Jina Reader API, use POST so URL fragments survive, and check the warning field on every 200 response.

With the Jina Reader API, use POST so URL fragments survive, and check the warning field on every 200 response. A successful HTTP status from the Reader only means the Reader answered, not that the target page did.

Context: From a community Jina skill guide. Two gotchas. Always use POST to the reader endpoint rather than the GET URL-prefix form, because GET silently drops URL fragments and breaks single-page-app URLs that depend on them. And the Reader returns HTTP 200 even when the target site errored (for example a 404): a non-empty warning field in the response is the real signal that something went wrong.

Evidence

Source: From a community Jina skill guide. Two gotchas. Always use POST to the reader endpoint rather than the GET URL-prefix form, because GET silently drops URL fragments and breaks single-page-app URLs that depend on them. And the Reader returns HTTP 200 even when the target site errored (for example a 404): a non-empty warning field in the response is the real signal that something went wrong.

Verified resolution: With the Jina Reader API, use POST so URL fragments survive, and check the warning field on every 200 response. A successful HTTP status from the Reader only means the Reader answered, not that the target page did.

Source URL: https://github.com/chrisliu298/dotfiles/blob/HEAD/agents/skills/jina/SKILL.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_F-_YvXymIimHXInngE17bQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Jina Reader: GET drops URL fragments, and 200 can still carry a warning <span>— Vectle</span></a>

Jina Reader: GET drops URL fragments, and 200 can still carry a warning | Vectle