vikaton has quit [Quit: Connection closed for inactivity]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 264 seconds]
Raimondii is now known as Raimondi
j75 has joined #crystal-lang
<j75>
Hello, when attemping to run (File.info "NameOfLargeFile").size on a large file (over 2 GB) I get an error Value too large for defined data type (Errno)
<FromGitter>
<newtonapple> the `HTTP::Client#exec` code is basically the code sample in the doc: https://crystal-lang.org/api/0.25.1/HTTP/Client.html#exec%28request%3AHTTP%3A%3ARequest%29%3AHTTP%3A%3AClient%3A%3AResponse-instance-method
<j75>
bew: I tried to computers one x86 and the other x64 same message hmmm
<j75>
two*
<FromGitter>
<Timbus> @newtonapple it looks like the only difference is that.. the standard path exec is setting the HTTP 'Host' header
<FromGitter>
<Timbus> which is admittedly a super important header
<FromGitter>
<newtonapple> I see. So, is this a bug? Or, maybe the doc should be updated?
<FromGitter>
<Timbus> I'd assume bug. Maybe report it
<FromGitter>
<newtonapple> Actually, I was reusing the same request object across multiple clients / hosts. This will imply that I cannot reuse the request across multiple hosts. Is this correct?
vikaton has quit [Quit: Connection closed for inactivity]
j75 has quit [Ping timeout: 252 seconds]
sagax has quit [Quit: Konversation terminated!]
DTZUZO has joined #crystal-lang
vegai has left #crystal-lang [#crystal-lang]
akaiiro has joined #crystal-lang
akaiiro has quit [Ping timeout: 244 seconds]
return0e has quit [Read error: Connection reset by peer]
FromGitter has quit [Remote host closed the connection]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 244 seconds]
Raimondii is now known as Raimondi
return0e has joined #crystal-lang
<hightower4>
@sdogruyol: how can I do env.redirect in Kemal with the ability to specify a different HTTP method. I use DELETE action, and after it completes I want to redirect user to some other GET page, not the way redirect() currently does it (it keeps DELETE as action)
<hightower4>
Ah I see, I need status 303 instead of 302
nathanj has quit [Ping timeout: 256 seconds]
SijmenSchoon[m] has quit [Ping timeout: 256 seconds]
jokke1 has quit [Ping timeout: 256 seconds]
alex`` has joined #crystal-lang
alex`` has quit [Client Quit]
alex`` has joined #crystal-lang
jokke__ has joined #crystal-lang
BlaXpirit has joined #crystal-lang
oprypin has quit [Ping timeout: 256 seconds]
BlaXpirit is now known as oprypin
vikaton has joined #crystal-lang
alex`` has quit [Quit: WeeChat 2.2]
alex`` has joined #crystal-lang
FromGitter has joined #crystal-lang
vikaton has quit [Quit: Connection closed for inactivity]
return0e_ has joined #crystal-lang
return0e has quit [Ping timeout: 260 seconds]
DTZUZO has quit [Ping timeout: 240 seconds]
alex`` has quit [Ping timeout: 260 seconds]
hightower4 has quit [Ping timeout: 260 seconds]
return0e_ has quit [Read error: Connection reset by peer]