Arc Forumnew | comments | leaders | submitlogin
1 point by zck 4796 days ago | link | parent

You're welcome! Weird, though -- I thought the 'require line had to be there so that racket would know what 'tcp-connect is. Apparently I'm wrong; I'll have to try my code without it.

Good luck with the rest of it, though -- this doesn't provide any sort of http header creation, which is somewhat annoying, but if you write some functions for it, I'm sure we'd be interested in seeing them.



1 point by alexpogosyan 4796 days ago | link

Maybe it's because I'm using mzscheme 4.2.5 and not racket?

-----

1 point by zck 4796 days ago | link

Ah, I didn't actually need it either -- I was thinking of some other code I was writing. To call Racket's 'HMAC-SHA1, you need:

  (require web-server/stuffers/hmac-sha1)
  (require net/base64)
But not for tcp-connect. If you make a library for Amazon interaction, that might be useful to other people. I'd be interested in seeing the code, at least.

-----