IRC logs for #farmOS, 2019-03-22 (GMT)

2019-03-21
2019-03-23
TimeNickMessage
[21:06:16]* JustTB has quit (Quit: Leaving.)
[21:10:57]* JustTB has joined #farmos
[23:13:56]* JustTB has quit (Ping timeout: 252 seconds)
[23:29:04]* JustTB has joined #farmos
[07:04:16]* JustTB has quit (Quit: Leaving.)
[08:05:19]* JustTB has joined #farmos
[08:14:33]* berryfarmer[m] has quit (*.net *.split)
[08:14:33]* leogaggl[m] has quit (*.net *.split)
[08:14:33]* amonteclicworld[ has quit (*.net *.split)
[08:20:58]* berryfarmer[m] has joined #farmos
[08:21:38]* leogaggl[m] has joined #farmos
[08:22:30]* amonteclicworld[ has joined #farmos
[09:14:18]<jgaehring[m]>oh re: OPTIONS requests, we will definitely need to figure that out to get the web app to work
[09:15:01]<jgaehring[m]>i think i've figured out how to resolve all the other CORS issues, but that's still throwing errors
[09:15:34]<jgaehring[m]>perhaps it could be resolved by the CORS module, actually, by specifically enabling that method in the headers
[09:16:34]<mstenta[m]>How does the web app use OPTIONS
[09:17:08]<mstenta[m]>Or what issue is it running up against?
[09:17:26]<mstenta[m]>Is it making an OPTIONS request?
[09:21:41]<jgaehring[m]>it is
[09:21:59]<jgaehring[m]>the browser does that automatically
[09:22:10]<mstenta[m]>Ah right
[09:22:22]<jgaehring[m]>i forget exactly the reason, perhaps to do with CORS?
[09:22:34]<mstenta[m]>Hmm ok
[09:22:41]<mstenta[m]>And it doesn't do that in native?
[09:23:52]<jgaehring[m]>correct
[09:25:22]<jgaehring[m]>ACTION sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/YShveOdddBaErgSP... >
[09:26:11]<jgaehring[m]>i wonder if just adding OPTIONS to Access-Control-Allow-Methods would work
[09:26:30]<mstenta[m]>Yea probably
[09:26:37]<mstenta[m]>I can give that a try later this morning
[09:27:11]<jgaehring[m]>cool
[09:27:25]<jgaehring[m]>btw, you can see the error currently when loading farmos.app
[09:28:58]<jgaehring[m]>ACTION uploaded an image: image.png (149KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/BxMukHRGfRLeBbwP... >
[09:30:51]<mstenta[m]>Oh that looks like more than a CORS issue
[09:31:06]<mstenta[m]>404 means restws is returning that
[09:31:49]<mstenta[m]>Probably because it checks the method and returns 404 if it isn't GET/POST/PUT (maybe)
[09:32:56]<mstenta[m]>What is the OPTIONS request used for in that case? Do you know?
[17:58:48]* JustTB has quit (Quit: Leaving.)