aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
Commit message (Collapse)AuthorAgeFilesLines
* fix html render on error in process-jsonmarty hiatt2023-06-201-2/+2
|
* rough rendering for 404 html error responses.marty hiatt2023-05-261-4/+17
|
* Revert "use url-http-end-of-headers in http.el" To fix testsmarty hiatt2023-05-161-2/+2
| | | | This reverts commit 6d05cf81ff5a84aa12735aeab2ac99a083c15033.
* http docstringmarty hiatt2023-05-161-2/+3
|
* use url-http-end-of-headers in http.elmarty hiatt2023-05-111-2/+2
|
* audit http.elmarty hiatt2023-05-101-52/+43
|
* refactor concat-params-to-url, replace append-query stringmarty hiatt2023-05-101-36/+20
|
* remove all ;; Package-Requires: declarations save for main filemarty hiatt2023-03-271-1/+0
| | | | main file is set in .dir-locals.el now
* manually(!) apply stephan monnier's patch, save the ts workmarty hiatt2023-03-211-1/+1
| | | | thanks stephan!
* sort all autoloadsmarty hiatt2023-03-191-1/+0
| | | | sort autoloads in profile.el
* http--process-response: display response as error if not jsonmarty hiatt2023-01-281-2/+12
| | | | still need to handle possible html.
* remove first empty line in docstringsmarty hiatt2023-01-091-3/+0
|
* update copyright/author attributionmarty hiatt2022-11-271-0/+2
|
* http: always use PARAMS or CBARGS, never ARGS anywheremarty hiatt2022-11-241-16/+18
|
* rename build-query-string to -params-str, + build-array-params-alistmarty hiatt2022-11-221-14/+14
|
* remove redundant --get-search(-json) funs, use new params --get-jsonmarty hiatt2022-11-221-34/+0
|
* attempt to fix --get-search paramsmarty hiatt2022-11-221-1/+2
|
* fix --get-response-async re paramsmarty hiatt2022-11-221-1/+2
|
* fix some tests due to paramsmarty hiatt2022-11-221-1/+1
|
* params always in http.el, only ever send alists from elsewhere.marty hiatt2022-11-211-34/+51
| | | | probably incomplete but mostly done.
* no switch to response buffer on non-200 http responsemarty hiatt2022-11-211-3/+5
|
* http--post - make args + headers optional argsmarty hiatt2022-11-191-2/+2
| | | | also update all calls to it, no need for nil nil everywhere.
* http build array args docstringmarty hiatt2022-11-191-1/+2
|
* Merge branch 'develop' into listsmarty hiatt2022-11-191-0/+5
|\
| * refactor array params into -http--build-array-args-alistmarty hiatt2022-11-171-0/+5
| |
* | add delete and edit listsmarty hiatt2022-11-161-0/+16
| |
* | http--triage: add 404, don't process json in that casemarty hiatt2022-11-151-2/+5
| |
* | make a start on listsmarty hiatt2022-11-151-5/+8
|/
* http vector docstringsmarty hiatt2022-11-101-2/+5
|
* process-response: optionally JSON array as vector, for instance descmarty hiatt2022-11-101-6/+6
|
* http docstringsmarty hiatt2022-11-101-3/+6
|
* opt no-headers arg, only fetch when nilmarty hiatt2022-11-091-8/+10
|
* use a proper dotted alist for response headers listmarty hiatt2022-11-091-2/+2
|
* --init: handle json or full response and handle Link headermarty hiatt2022-11-091-0/+1
|
* http: add response layer to requests:marty hiatt2022-11-091-25/+50
| | | | | | | | | | | - response is a cons of JSON list and http response headers alist - existing --get-json functions now just car the response - we also process JSON array as a list not a vector - this should open the way to handling response headers if we want to, eg for paginating favorites with the Link: header
* add headers arg to http--process-json and --get-json-asyncmarty hiatt2022-11-051-4/+13
|
* Revert "remove unused --append-query-string"marty hiatt2022-11-031-0/+7
| | | | This reverts commit e2fd67b16104ab772a4ef962613cb9f3cb3cea52.
* http.el docstringsmarty hiatt2022-10-311-6/+10
|
* re-write --make-meta-fields-params to build normal params alistmarty hiatt2022-10-301-4/+2
|
* working meta fields updatemarty hiatt2022-10-291-2/+4
|
* remove unused --append-query-stringmarty hiatt2022-09-121-7/+0
|
* factor out http--build-query-string for use PATCH reqs alsomarty hiatt2022-09-121-14/+18
|
* macro declare debug body for auth reqmarty hiatt2022-09-121-0/+1
|
* indentation and stale TODOsmarty hiatt2022-09-121-37/+37
|
* use seq-empty-p and string-empty-p callsmarty hiatt2022-09-051-1/+1
|
* -http: optional silent requests so we can actually messagemarty hiatt2022-09-031-10/+10
|
* http--patch: make general function, not just for notemarty hiatt2022-08-311-11/+8
| | | | - this way we can build funs to change basic account options.
* bump version in boilerplatemarty hiatt2022-08-271-1/+1
|
* docstringsmarty hiatt2022-08-171-2/+3
|
* restore (list (cons call in macromarty hiatt2022-08-071-19/+19
|