
Hello, Probably a silly question... But do we have good library for URL manipulations? I spent 2 days looking for library, that - has permissive license - doesn't use `String` everywhere - handles query part parsing/rendering - has minimal dependencies (Probably URL lib should not depend on anything outside Haskell Platform.) The best thing I found so far is https://github.com/Soostone/uri-bytestring It has few unnecessary dependencies (like http-types or errors,) but I can fork it and fix for my needs. Unfortunately it has unclear license -- BSD3 according to cabal file, but GPL-3 in source header. Are there better libs I missed? What are you using for URLs? Thanks, Yuras

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 A widely used library that may or may not work for your use case is http-types [1]. Cheers, [1] http://hackage.haskell.org/package/http-types - -- Felipe. -----BEGIN PGP SIGNATURE----- iQJXBAEBCABBOhxGZWxpcGUgQWxtZWlkYSBMZXNzYSAobWV0ZWZpY2hhKSA8ZmVs aXBlLmxlc3NhQGdtYWlsLmNvbT4FAlQ6dIcACgkQp2TRhD6WaCmsKhAAmLeLZ7rU M/YjUFo/h/lYWzMzQntThuF7pJsnQ0jGVVAndm8ZpF497gU66mAE6Ep64PTwanaA E/drgBiwpj92ftK1hHCjy0v0B+WVDj+OZXaerIL4nbuC8eoy6QnJlV76V8lM3Dyt RvnnprZChmUyVcA4IjpGOguo9854sS8AXXy5hKtl3I1PA01b+kuuTZ9AukYFwppZ KSXQ2MuC2x26poJn152ChsOhN5iMne1YSCZB8IJzXaVoYgwNxN2JOjYt965jhdO8 1Ewn+PhMJZ0Eu+PRlLEyaNWhddGHF7/WFBM5dvI99JhlECEqU6jU65Qr831CFFB6 Bxy0QmIByBfdmQ2ar8OZhuSqzmVBAVb7054b/yxbPVheSn0CdIAoXk2MEiQ3Pfrd B2YU1TLcJY3ROB8a6gsxTkyGu67i1H/P0OvLAj2ln6YMYHnkw6pIk+UoXiWdmiqA zHhBmxKw8hYhjl55Yq28eWIUd9HJANswg1T6MPIMQoKRJO2eqVLqq+pX0A/tigrD G3qQObBO2IiCBKdNllSSyX0TcpGeWh7uKKocAIRY8fPZz1a9cSEGIzcVZ4sP1/F7 TTRStW7nWSi1cdyEXOrZX768+nwsMDc28Xv8zjth6trZPiftfNQAVFp86XaU/Xcy ld9af+rHTfx8G9zp0L06CawrKmnAdDbQHHE= =/eb7 -----END PGP SIGNATURE-----

I don't know how I overlooked http-types... It is exactly what I need. Thank you a lot! btw, I see it depends on blaze-builder. What pros it has compared to bytestring's built-in Builder? (I'm trying to minimize my dependency chain as much as possible because it run out of control.) On Sun, 2014-10-12 at 09:31 -0300, Felipe Lessa wrote:
A widely used library that may or may not work for your use case is http-types [1].
Cheers,
[1] http://hackage.haskell.org/package/http-types
-- Felipe.
participants (2)
-
Felipe Lessa
-
Yuras Shumovich