GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — URL is rewritten and port is added before jarcache.json lookup · Issue #287 · jsonld-java/jsonld-java

URL is rewritten and port is added before jarcache.json lookup #287

New issue
Copy link
New issue
Copy link
Open
Open
URL is rewritten and port is added before jarcache.json lookup#287
Copy link

Description

@ircecho
ircecho
opened on May 25, 2020
Issue body actions

On 0.12.3, I was trying to decode a json+ld with

"@context": "https://schema.org"

So I added the following to jarcache.json

  {
    "Content-Location": "http://schema.org",
    "X-Classpath": "jsonldcontext.json",
    "Content-Type": "application/ld+json"
  }

This did not work as expected, the cache was not used. After odious debugging I found the cache was searched with the port number added, so I could produce a cache hit only with the following entry:

  {
    "Content-Location": "https://schema.org:443/",
    "X-Classpath": "jsonldcontext.json",
    "Content-Type": "application/ld+json"
  }

This is certainly unexpected. Why rewrite the URL before cache lookup? Also the documentation suggests, that the port number is not necessary. Please fix this.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.