zinc
zinc copied to clipboard
Zinc HTTP Components is an open-source Smalltalk framework to deal with the HTTP networking protocol.
@Ducasse and I ran into a peculiar error today, not sure if the problem is mine or yours :-) The situation an absolute path, for example '/Users/kasper/tmp'. Assuming the directory...
Not sure if this is a bug, but the following don't match, presumably because one parameter is lowercase and the other is uppercase.
ZnUrl seems to go against RFC 3986, in that it replaces percent-encoded octets for some reserved characters by those characters. Take the following block: ``` [ :url | (ZnUrl fromString:...
In the following example, the `#decodeBytes:` message returns a String that cannot be encoded by `#encodeString:`: ```smalltalk string := ZnCharacterEncoder utf8 decodeBytes: #[16rF4 16r90 16r80 16r80]. "⇒ string is equal...
The following fails with a 401 error: ```smalltalk 'https://github.com/SquareBracketAssociates/Booklet-DataFrame/releases/download/continuous/DataFrame-wip.pdf' asUrl saveContentsToFile: file. ``` But this works: ```bash curl -Lo wip.pdf https://github.com/SquareBracketAssociates/Booklet-DataFrame/releases/download/continuous/DataFrame-wip.pdf ``` NB it too fails without the `-L`. It...
Hi, I have a project loading Zinc for the websockets. The dependency is defined like this: ```st spec baseline: 'ZincHTTPComponents' with: [ spec loads: #('WebSocket'); repository: 'github://svenvc/zinc:master/repository' ] ``` After...
This is not an error, but a proposal - or perhaps even just a problem. I would like to be able to address the memory file system using url/uri syntax....
'file:///somepath' asZnUrl isAbsolute is false. I would have expected it to be true. The dubious part is the check for host in the implementation.
The Client doc listed in the readme (https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Client/Zinc-HTTP-Client.html) gives a 503 It's the highlighted link in this screenshot: ___________________________ OT: I was trying to read it to find out if...
```smalltalk url := ZnUrl new scheme: 'gitlab'; host: 'SeanDeNigris'. url asString = 'gitlab://seandenigris/' ``` That is "SeanDeNigris" was transformed into "seandenigris". Is that a bug or a feature?