forked from TrueCloudLab/frostfs-http-gw
parent
6789dbc6a9
commit
1bd31a9e1d
2 changed files with 5 additions and 4 deletions
|
@ -413,7 +413,8 @@ func (r *Reader) isBoundaryDelimiterLine(line []byte) (ret bool) {
|
|||
|
||||
// skipLWSPChar returns b with leading spaces and tabs removed.
|
||||
// RFC 822 defines:
|
||||
// LWSP-char = SPACE / HTAB
|
||||
//
|
||||
// LWSP-char = SPACE / HTAB
|
||||
func skipLWSPChar(b []byte) []byte {
|
||||
for len(b) > 0 && (b[0] == ' ' || b[0] == '\t') {
|
||||
b = b[1:]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue