Alexander Zeitler

Results 96 comments of Alexander Zeitler
trafficstars

@sazzer Thanks for using the package. Could you please explain what and how you would expect to use it? Would you be willing to send a PR?

@sazzer I think https://github.com/badgateway/ketting#introduction can do this for you.

@sazzer You can follow the progress for a parser: https://github.com/PDMLab/http-problem-details-parser Looking forward to your feedback.

@robincafolla thanks for showing your use case. Right now I'm experimenting with parsing and trying to understand what is required. So given this HTTP 400 problem detail repsonse, ```json {...

@viztastic I’m open to your proposal but I don’t have any experience with deno. If you can provide a PR with the necessary changes, I’m happy to merge it.

@viztastic We could default to http://localhost or http://tempuri.org - does this make sense to you?

Or should we expect a valid URL including a base URL?

I think I would do something like this then: ```bash yarn add is-relative-url ``` ```typescript import isRelativeUrl from 'is-relative-url' const getUrl = (url: string) => { return isRelativeUrl(url) ? getRelativeUrl(url)...

Ok, I build a npm package for it (`getRelativeUrl`) 🤪 https://www.npmjs.com/package/get-relative-whatwg-url