#26 API access

오픈
bill-auger8 년 전을 오픈 · 1개의 코멘트
bill-auger 코멘트됨, 8 년 전

TODO: describe this feature better

this means serving text/plain, JSON, XML, or whatever to CLI clients and perhaps is applicable to the proposed email clients as well

regarding the WT library it took me a while to find this - it looks like this is handled by extending a custom response class - also seems to be the same class that handle file uploads

https://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WResource.html#details

TODO: describe this feature better this means serving text/plain, JSON, XML, or whatever to CLI clients and perhaps is applicable to the proposed email clients as well regarding the WT library it took me a while to find this - it looks like this is handled by extending a custom response class - also seems to be the same class that handle file uploads https://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WResource.html#details
bill-auger 코멘트됨, 8 년 전
소유자

the 'serve-raw' branch on my WT fork is now able to serve any of JSON, XML, and raw plain text - wget and curl are quite happy with the output

i expect no problem extending this to binaries and tarballs if need be

as noted above, this class handles uploads and appears to be SSE stream-able with optional continuations

there is one caveat in that the docs say something like "this feature currently only works with the wthttp server" - im not sure when "currently" was written but this seems to imply that it may not yet work with the FastCGI bridge

the ['serve-raw' branch on my WT fork](https://notabug.org/bill-auger/wt/src/serve-raw) is now able to serve any of JSON, XML, and raw plain text - wget and curl are quite happy with the output i expect no problem extending this to binaries and tarballs if need be as noted above, this class handles uploads and appears to be SSE stream-able with optional continuations there is one caveat in that the docs say something like "this feature currently only works with the wthttp server" - im not sure when "currently" was written but this seems to imply that it may not yet work with the FastCGI bridge
로그인하여 이 대화에 참여
레이블 없음
bug
마일스톤 없음
담당자 없음
참여자 1명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.