GithubHelp home page GithubHelp logo

gereco's People

Contributors

pchampin avatar

Watchers

 avatar  avatar

gereco's Issues

Multiple links are not well handled

When the response header link contains several links, only the first one is considered by Gereco for generating an HTML link...

E.g.:

  Link: <http://ex.co/foo>;rel="next",<http://ex.co/bar>;rel="prev"

gives a single link, to http://ex.co/foo .

Request headers

It should be possible to customize the request headers through the interface.

Use <base> for better links in the response

When visiting "external" links, window.location is not updated, which is normal (pushState does not allow use to override someone else's content), but then relative links in the response are broken.

A way to fix this would be to use a <base> tag in the HTML.

Do not update content-type on errors ?

The rationale is that the content-type of the error message is not likely to be useful for further requests. On the contrary, whenever you get an error message after a PUT or a POST, you currently have to change it back to its original value.

Alternative pushState for external links

In cases where the visited URL can not be pushed with pushState, an alternative URL should may be pushed instead (e.g. consoleURL#visitedURL).

Of course, this implies that such alternative URLs are correctly loaded.

CTRL+click on links should open a new tab/window

Click on links is intercepted to load the new page inside the console (rather than reloading the page).

However, CTRL+click should be let through so that it opens a new tab/window as expected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.