1,6 → 1,6 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;; ;; |
;; Copyright (C) KolibriOS team 2004-2013. All rights reserved. ;; |
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
;; Distributed under terms of the GNU General Public License ;; |
;; ;; |
;; HTTP library for KolibriOS ;; |
14,6 → 14,8 |
|
|
; Bitflags for http_msg.flags |
|
; status |
FLAG_HTTP11 = 1 shl 0 |
FLAG_GOT_HEADER = 1 shl 1 |
FLAG_GOT_ALL_DATA = 1 shl 2 |
20,7 → 22,12 |
FLAG_CONTENT_LENGTH = 1 shl 3 |
FLAG_CHUNKED = 1 shl 4 |
FLAG_CONNECTED = 1 shl 5 |
; ERROR flags go into the upper word |
|
; user options |
FLAG_KEEPALIVE = 1 shl 8 |
FLAG_MULTIBUFF = 1 shl 9 |
|
; error |
FLAG_INVALID_HEADER = 1 shl 16 |
FLAG_NO_RAM = 1 shl 17 |
FLAG_SOCKET_ERROR = 1 shl 18 |