git ssb

0+

cel / ggscrape



Commit cd186e29c07f78383647c50e097dffa61d51ebbb

Handle HTTP/2 response

cel committed on 8/19/2018, 7:57:19 PM
Parent: 2096f35b03799f27ac1e12ded345cae328e4d72c

Files changed

ggscrapechanged
ggscrapeView
@@ -39,9 +39,9 @@
3939 }
4040
4141 check_permission() {
4242 debug_print testing permission
43- if ! req_fragment "forum/${group_id}%5B1-1-false%5D" -I | grep -q '200 OK'
43 + if ! req_fragment "forum/${group_id}%5B1-1-false%5D" -I | sed 1q | grep -q 200
4444 then
4545 echo 'Unable to access group.' >&2
4646 return 1
4747 fi

Built with git-ssb-web