Searched refs:statuscode (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dshtinyurl.sh55 typeset h statuscode statusmsg i
58 IFS=$' \t\r' read -r h statuscode statusmsg # read HTTP/1.[01] <code>
60 [[ "$statuscode" != ~(Elr)[0-9]* ]] && { print -u2 -f $"%s: invalid status code\n" "$0" ; return 1 ; }
61 response.statuscode="$statuscode"
141 if (( httpresponse.statuscode >= 200 && httpresponse.statuscode <= 299 )) ; then
145 print -u2 -f $"tinyurl response was (%s,%s):\n%s\n" "${httpresponse.statuscode}" "${httpresponse.statusmsg}" "${response}"
187 if (( httpresponse.statuscode >= 200 && httpresponse.statuscode <
[all...]
H A Dshtwitter.sh109 typeset h statuscode statusmsg i
112 IFS=$' \t\r' read -r h statuscode statusmsg # read HTTP/1.[01] <code>
114 [[ "$statuscode" != ~(Elr)[0-9]* ]] && { print -u2 -f $"%s: invalid status code\n" "$0" ; return 1 ; }
115 response.statuscode="$statuscode"
238 printf $"twitter response was (%s,%s): %s\n" "${httpresponse.statuscode}" "${httpresponse.statusmsg}" "${response}"
240 if (( httpresponse.statuscode >= 200 && httpresponse.statuscode <= 299 )) ; then
288 printf $"twitter response was (%s,%s): %s\n" "${httpresponse.statuscode}" "${httpresponse.statusmsg}" "${response}"
290 if (( httpresponse.statuscode >
[all...]
H A Dshnote.sh87 typeset h statuscode statusmsg i
90 IFS=$' \t\r' read -r h statuscode statusmsg # read HTTP/1.[01] <code>
92 [[ "$statuscode" != ~(Elr)[0-9]* ]] && { print -u2 -f $"%s: invalid status code\n" "$0" ; return 1 ; }
93 response.statuscode="$statuscode"
H A Drssread.sh83 typeset h statuscode statusmsg i
86 IFS=$' \t\r' read -r h statuscode statusmsg # read HTTP/1.[01] <code>
88 [[ "$statuscode" != ~(Elr)[0-9]* ]] && { print -u2 -f $"%s: invalid status code\n" "$0" ; return 1 ; }
89 response.statuscode="$statuscode"
H A Dcrawlsrccomments.sh659 typeset h statuscode statusmsg i
662 IFS=$' \t\r' read -r h statuscode statusmsg # read HTTP/1.[01] <code>
664 [[ "$statuscode" != ~(Elr)[0-9]* ]] && { print -u2 -f $"%s: invalid status code\n" "$0" ; return 1 ; }
665 response.statuscode="$statuscode"
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcpv6.c71 uint16_t statuscode; local
129 if (d6o != NULL && optlen >= sizeof (statuscode)) {
130 (void) memcpy(&statuscode, d6o + 1,
131 sizeof (statuscode));
133 " status=%u", ntohs(statuscode));
134 optlen -= sizeof (statuscode);
/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dkcmd.c468 krb5_error_code statuscode; local
511 statuscode = krb5_c_block_size(kcmd_context, final_enctype,
513 if (statuscode) {

Completed in 320 milliseconds