Coder Social home page Coder Social logo

jttp's People

Contributors

argherna avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

tubbz-alt

jttp's Issues

Support client side custom HTTP methods

HttpURLConnection hardcodes the HTTP methods it supports and throws exceptions for others [1]. I'd like to see if there is a way from Java 9 onward to support PATCH and WebDAV while maintaining the integrity of using HttpURLConnection as much as possible.

Deprecate scripting in Jttp

The scripting option needs to be removed from Jttp. There are too many scripting languages available that run on the JRE, and supporting them all would be impossible. Furthermore, with JDK 14, Nashorn which is the default scripting engine has been removed entirely from Java.

Support OAuth as an option without needing a script

OAuth is usable by jttp, but requires you to write a script to authenticate, get the initial code, then obtain a bearer token. It'd be better to support OAuth so that a bearer token can be obtained and persisted for a session without an additional script.

Document the session file contents/schema

I like the Java ecosystem and XML is a big part of that which is why it was chosen for persisting session data. There needs to be wiki pages (or even GitHub pages--maybe???) written to document the schema.

Using the session archive, implement a playback feature in jttp

The session tracking mechanism was planned not only to enhance usage of websites that need authentication, but to automate repeated tasks or even tests against APIs for example. A playback of a session based on the contents of the history.xml file would achieve this to some degree.

Some things to think about are:

  1. Session timeouts (session tokens don't last forever)
  2. Sensitive data (somehow keep that in a keystore?)

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.