Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7008 → Rev 7007

/programs/develop/libraries/http/examples/post.asm
1,10 → 1,9
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2014-2017. All rights reserved. ;;
;; Copyright (C) KolibriOS team 2014-2015. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;; post.asm - HTTP library example: ;;
;; Paste something to paste.kolibrios.org using HTTP POST method.;;
;; pasta.asm - Paste something to paste.kolibrios.org using POST ;;
;; ;;
;; GNU GENERAL PUBLIC LICENSE ;;
;; Version 2, June 1991 ;;
84,7 → 83,8
jz error
mov [identifier], eax
 
invoke HTTP_send, eax, sz_paste, sz_paste.length
mov ecx, [eax + http_msg.socket]
mcall 75, 6, , sz_paste, sz_paste.length, 0
 
.again2:
invoke HTTP_receive, [identifier]
145,7 → 145,6
HTTP_post, 'post', \
HTTP_receive, 'receive', \
HTTP_find_header_field, 'find_header_field', \
HTTP_send, 'send', \
HTTP_free, 'free'