Are you trying to insert formData in something another? I believe, that
formData should be passed to axios as is:
axios.post('../services/api/uploadimg', formData)
if you need to add some fields just do it:
formData.append('name', 'blah')
On Monday, February 5, 2018 at 7:16:04 AM UTC+3,
Yes, I played with Gunicorn+gevent workers - just "time.sleep(0)" in the
slow controller releases worker to service other requests.
On Saturday, February 17, 2018 at 3:08:54 AM UTC+3, Anthony wrote:
>
> Note, that will consume one of your web server processes/threads for the
> entire duration
Note, that will consume one of your web server processes/threads for the
entire duration of the processing -- might be better with an async server
like gevent.
Anthony
On Friday, February 16, 2018 at 6:48:56 PM UTC-5, Val K wrote:
>
> Just a very simple example using
Will try it...
I knew i would need a Yield !!
Many thanks for your time
António
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this
Just a very simple example using https://github.com/axios/axios
def long_load():
ret = DIV()
ret.append(SCRIPT(_src=URL('static/js','axios.min.js')))
ret.append(SCRIPT(
"""
function DownLoadTick(e){
document.getElementById("result").innerHTML =
>
> You have a great book, However, I find it exasperating how many times you
> do not explicitly state where code should go.
> EVERY SINGLE code entry should have an explicit listing of the file it is
> supposed to go into. That really shouldn't be difficult.
>
> I have actually had to go to
Thanks Anthony, I'll try with one of those workarounds.
El viernes, 16 de febrero de 2018, 13:21:14 (UTC-3), Anthony escribió:
>
> Unfortunately, the rewrite system does not match on the query string. Some
> options are:
>
>- Use your web server to do the rewrite.
>- Implement WSGI
On Friday, February 16, 2018 at 2:10:38 PM UTC-8, Bryan Nahrwold wrote:
>
> I am assuming this is so obvious that you don't feel the need to state it
> explicitly, but where the heck does the manager code go in the book code
> 3.3.2 Adding Grids?
>
>
This is just a controller function, so it
I am assuming this is so obvious that you don't feel the need to state it
explicitly, but where the heck does the manager code go in the book code
3.3.2 Adding Grids?
I've tried several file locations which all don't work.
The book states on page 105-106 (version
I haven't got any tracking from my Google analytics for my new website
trialert.com. I thought new tracking might take some time. But it hasn't
shown up any tracking for 2 weeks.
Then today I tried to use analytics.min.js from an older app in the same
web2py setup. It starts to show active
Unfortunately, the rewrite system does not match on the query string. Some
options are:
- Use your web server to do the rewrite.
- Implement WSGI middleware to do the rewrite (or at least rewrite the
legacy URLs in a way that the web2py rewrite system can then match them,
such as
On Friday, February 16, 2018 at 7:03:18 AM UTC-5, Scorpa wrote:
>
> Documentation about parametric system is VERY bad and doesnt describe its
> abilities in.
>
There is more detail in the example
file:
https://github.com/web2py/web2py/blob/master/examples/routes.parametric.example.py
> But
alright, well this has me thinking towards a whole new http server. i just
might do it very soon, especially since it just a yum/rpm package on centos
already. thank you all for your input.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
I think URL mapping occurs before. However I don't care about the lang
value itself, just want to support a legacy URL.
>
>
El jueves, 15 de febrero de 2018, 22:26:56 (UTC-3), Dave S escribió:
>
>
>
> On Thursday, February 15, 2018 at 4:05:32 PM UTC-8, nethu...@gmail.com
> wrote:
>>
>> Hello
Documentation about parametric system is VERY bad and doesnt describe its
abilities in. But because it's stated that parametric systems should be
suffcient for all i assume somewhere i can find how to implement my
solution.
For example is it able to do redirect from "/smth" which is view
15 matches
Mail list logo