SpaghettDev
83f8a32a3f
More web options (HTTP version, accept encoding, transfer body, follow request, range) ( #943 )
2024-06-23 16:45:12 -03:00
dankmeme01
6ae11dd462
don't change the method from POST to GET when following a redirect
2024-06-15 11:48:02 +02:00
Fleeym
f909a737ec
add WebResponse::into
2024-06-08 18:11:16 +03:00
dankmeme01
b129808723
remove old web utils
2024-06-07 11:20:50 +02:00
matcool
324795cddb
ghc::filesystem -> std::filesystem
...
remove ghc::filesystem :D
closes #713
2024-06-02 22:35:51 -03:00
kynex7510
bf7e86988c
Fix win32 build
2024-05-31 13:28:12 +02:00
dankmeme01
52ea6ea51c
fix minor memory leak in AsyncWebRequest
2024-03-09 12:10:42 +01:00
matcool
c035278231
okay im bad at copying code
...
this happened whenever the request would get converted into json and
fail, and then that handler would call SentAsyncWebRequest::error
instead of the expect, delaying the execution of expect by one frame, by which
time the request class was already deleted.
Co-Authored-By: dankmeme01 <42031238+dankmeme01@users.noreply.github.com>
2024-02-03 19:33:27 -03:00
matcool
49738e6029
fix mysterious web request crash
...
thank you @dankmeme01
2024-02-03 19:30:46 -03:00
matcool
1ce2b32a7f
fix android build, free curl header list
2024-02-03 19:14:58 -03:00
matcool
17153a4f68
remove crlf from http headers
2024-02-03 18:55:03 -03:00
altalk23
ea81897d5b
this much silliness should be impossible !!!!
2024-01-29 23:17:16 +03:00
ConfiG
5a59faa077
add some thread names
2024-01-28 19:53:18 +03:00
altalk23
df07409532
implement the last modified since & responseHeaders in async web
2024-01-24 19:31:51 +03:00
altalk23
4cd08e1ca9
remove try blocks
2024-01-24 17:17:42 +03:00
mat
def39fc3f9
use compact json for request body
2024-01-10 00:12:35 -03:00
matcool
8ccc61febb
new util methods, rename postFields and customRequest
2024-01-09 20:10:58 -03:00
matcool
91703e4192
fix postFields not setting isPostRequest to true
2024-01-09 18:31:55 -03:00
matcool
2540790ccb
make cancelling not call error callback
2024-01-09 18:17:46 -03:00
mat
8a605da9b8
actually implement asyncwebrequest::timeout
2024-01-04 09:37:55 -03:00
mat
13ac3359f7
add AsyncWebRequest::timeout
2024-01-03 23:12:23 -03:00
mat
1ee1352d70
make AsyncWebRequest pimpl
2024-01-03 22:17:27 -03:00
mat
b9a09f73d5
update json library, changes namespace to matjson
...
very breaking change! though not annoying to upgrade. this change was
done because matjson is not really meant to be a "do everything" json
library, so taking up the very common `json` identifier was troublesome.
2024-01-03 18:04:43 -03:00
mat
ebcc23e7a9
Merge branch 'main' into 1.4.0-dev
2023-12-19 10:02:19 -03:00
altalk23
c8392e92f5
im tired
2023-11-21 22:03:07 +03:00
mat
41832af1d8
Merge branch '1.4.0-dev' into 1.4-merge-temp
2023-11-09 22:39:23 -03:00
Fire
237128bfc5
Allow error responses
...
i dont want a "HTTP response code said error"
2023-10-27 20:49:17 +00:00
camila314
23bfc22d11
someone made an oopsie in SentAsyncWebRequest::Impl's constructor
2023-10-22 11:50:58 -05:00
altalk23
90d55d0526
revert web
2023-10-01 17:37:26 +03:00
altalk23
41ae88ae5b
Merge branch '1.4.0-dev' into android
2023-10-01 15:22:18 +03:00
Fleeym
a942a45adc
follow redirects on all util::web requests
2023-09-20 00:56:55 +03:00
qimiko
fda43ec617
fix web request crash
2023-09-16 03:53:24 -07:00
altalk23
20d5e079bc
Fix tuliphook alignment intervener issue
2023-09-16 01:10:56 +03:00
altalk23
4294177be6
gd opens rn lol! but i commented like everything
2023-09-15 23:37:18 +03:00
altalk23
cbd1d04cab
fix target 2
2023-09-08 18:07:21 +03:00
altalk23
92ca99b82c
fix broken web request stuff
2023-09-08 18:05:20 +03:00
altalk23
645eb8e03d
delete extra
2023-09-08 18:04:18 +03:00
altalk23
83e48fa8dc
Fix AsyncWebRequest backwards compat
2023-09-08 18:02:59 +03:00
altalk23
c256207457
Add post & custom requests and user agents to AsyncWebRequest
2023-09-08 17:17:45 +03:00
ConfiG
277f68bfd7
rename queueInGDThread to queueInMainThread
2023-08-19 00:23:20 +03:00
PoweredByPie
5af15fba7c
Add geode::prelude
to replace USE_GEODE_NAMESPACE()
...
Don't use macros where not necessary!
This deprecates the old macro by way of a weird alias namespace.
2023-03-10 12:09:48 -08:00
matcool
deab672bc2
json rewrite, use custom lib instead of nlohmann::json
...
This is in attempt to make compile times better, as the old json library
was quite slow to compile due to many template instantiations and such a
large header.
macOS tests have shown build times from 610s to ~390s, about a 1.5x
speedup
Co-authored-by: camila314 <47485054+camila314@users.noreply.github.com>
2023-01-27 21:14:26 -03:00
HJfod
a418828394
fix resources not being downloaded by fallbacking to github api
...
- also add an overload to AsyncWebRequest::expect that gives you the http status code
2023-01-24 18:17:03 +02:00
altalk23
dc0da9fc56
make it compile on macos
2023-01-15 02:00:59 +03:00
altalk23
a1c7139e53
I only changed the headers and not the sources to improve compile times a bit
2023-01-15 00:45:58 +03:00
altalk23
07e64c4dc9
remove cursed this->m_
2022-12-31 18:20:43 +03:00
HJfod
2d7ce01b1f
fix resource download freezing the game
2022-12-17 19:08:01 +02:00
altalk23
5666c8f356
separate mod and impl
2022-12-14 14:11:19 +03:00
altalk23
962dca6ab2
fix cvs
2022-12-13 22:57:20 +02:00
altalk23
a47937c379
remove spinlocks & make sent async response pimpl
2022-12-12 15:40:05 +03:00