You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We find that when we try to fetch large file content with API GET https://api-data.line.me/v2/bot/message/{messageId}/content, the connection will be closed by line client when it exceed 100s.
Then we get response like:
HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
We would like to get the file size by calling HEAD method at 1st, so we can decided our next step.
Can we have a head method at linebot/client.go? If it's ok, I would love to add it.
System Informations
Go version: 1.22
OS: macOS
Expected Behavior
Current Behavior
Steps to Reproduce
Logs
The text was updated successfully, but these errors were encountered:
We find that when we try to fetch large file content with API
GET https://api-data.line.me/v2/bot/message/{messageId}/content
, the connection will be closed by line client when it exceed 100s.Then we get response like:
I use curl to get the complete information:
We would like to get the file size by calling
HEAD
method at 1st, so we can decided our next step.Can we have a head method at linebot/client.go? If it's ok, I would love to add it.
System Informations
Expected Behavior
Current Behavior
Steps to Reproduce
Logs
The text was updated successfully, but these errors were encountered: