The '*_path' methods also make the generated HTML easier to read,
because they're shorter and focus on the changing part.
On Wed, May 29, 2024 at 8:03 AM Mike Orr wrote:
>
> I prefer the '*_path' methods to get relative URLs that automatically
> adjust to more environments, and to
it
> https://groups.google.com/d/msgid/pylons-discuss/CA%2ByMeXVZ%3DxN6yYCC-oRU3W%3D7J52xzAuQfVwJSyyKep4gpg%3Do5Q%40mail.gmail.com.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop r
gt; You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web vis
(version 3) will drop Python 2 and older versions of
Python 3. It will focus on updating the packaging and documentation.
No new features or API changes are expected. It may delete some
helpers that now have counterparts in recent versions of Python.
--
Mike Orr
--
You received this message because
eived this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> htt
On Thu, Nov 23, 2023 at 11:50 AM Oberdan Santos wrote:
>
> You should note in the subject statement that in addition to the query, I
> have the problem of the result being published on another page.
> query page code
> # templates/pac_recepx.jinja2
>
>
>
> Consultar
On Thu, Nov 23, 2023 at 7:03 AM Oberdan Santos wrote:
> O codigo no formato acima não executou, apresentou erro, mas foi de grande
> valia, muito obrigado). Fiz uma pequena alteração e deu certo.
> Funcionou assim:
> cpf = request.params["cpf"]
>rows =
t; --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the we
On Mon, Nov 20, 2023 at 4:14 PM Jonathan Vanasco wrote:
>
> SQLAlchemy supports this via `Engine.dispose()`, which is the documented way
> of handling a post-fork connection:
>
>https://docs.sqlalchemy.org/en/13/core/connections.html#engine-disposal
Yes, that sounds familiar.
--
You
t;mailto:pylons-discuss%2bunsubscr...@googlegroups.com>.
> > To view this discussion on the web visit
> >
> > https://groups.google.com/d/msgid/pylons-discuss/971cf4de-7235-47af-a92e-5da154230b18%40augusta.de
> >
> > <https://groups.google.com/d/ms
gt; To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/008829c9-1180-4365-9f69-d22d59a09ccd%40augusta.de.
--
Mi
the best/right thing to do?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegrou
com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/632b73fe-818f-42b3-b035-b61fb518df85n%40googlegroups.com.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
and haven't changed much, and I
doubt the spec has changed much, so I'm inclined to maybe delete the
test if it's not straightforward to fix. Maybe somebody can figure it
out better than I can.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-di
static site instead).
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
&
On Thu, Aug 18, 2022 at 12:10 PM Ian Wilson wrote:
> I just about crack a gear every time I see raw SQL used in JS or some other
> language ecosystem. We have a space ship right here, right now. Why are
> people strapping cardboard to their arms? I've done it before myself many
> years ago
On Thu, Aug 18, 2022 at 5:03 AM Mikko Ohtamaa wrote:
> Nowadays I program SQLAlchemy by using StackOverflow. This is after 10 years
> of using SQLAlchemy. Makes the process more tolerable. However, the extra
> power you get from it in a big project is worth it. The project needs to be a
> big
at 9:19 AM 'Jonathan Vanasco' via pylons-discuss
wrote:
>
> On Tuesday, August 16, 2022 at 11:45:24 AM UTC-4 Mike Orr wrote:
> > It is rolling back in some of my testing when there's no
> > insert/delete/update, but I want to make sure it always does, just in
> > case something
if there were no changes, or if it will
always do so.
On Tue, Aug 16, 2022 at 8:42 AM Mike Orr wrote:
>
> On Mon, Aug 15, 2022 at 3:46 PM Jonathan Vanasco wrote:
> >
> >
> > I second what Michael said. The sqlalchemy starter template is the right
> > way to go.
> &g
On Mon, Aug 15, 2022 at 3:46 PM Jonathan Vanasco wrote:
>
>
> I second what Michael said. The sqlalchemy starter template is the right way
> to go.
>
> The major thing this template does, is provide you with the glue between a
> SQLAlchemy "Session" and the pyramid request. See :
>
On Thu, Aug 11, 2022 at 8:59 PM Mike Orr wrote:
> Somebody in our local Python group was doing that, although not with
> Pyramid. He ran a PostgreSQL consultancy, and one of his staff gave a
> talk about the benefits of using Postges' role system for user
> accounts and permissions
On Thu, Aug 11, 2022 at 9:54 AM pzzcc wrote:
> I want to avoid using SQLALCHEMY all together really to have a better
> understanding of how things work inside pyramid for integrating the tool with
> other tools already in place. so I think that is the correct route. once I
> get this to work ,
discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/309895e7-5ea4-49c6-b7e3-d7dff9c62337n%40googlegroups.com.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discus
scr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/90ae76af-8406-3ec5-b490-2f4af254431d%40augusta.de.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss"
On Wed, Jul 14, 2021 at 9:34 PM Mikko Ohtamaa wrote:
> On Wed, 14 Jul 2021 at 17:57, Theron Luhn wrote:
>> Generally in this situation I offload the file to S3 or similar, and have
>> Pyramid generate a signed URL to redirect to. Operationally much simpler.
>
>
> A good point. I will check
One thing to watch with Postgresql databases in testing is,
autoincrement primary keys do *not* roll back. So on the first test
run the new records may start with 1, but on later runs they may start
with 10,000 or some other absurdly high number, even though the
insertions are always rolled back
On Thu, Jun 24, 2021 at 10:34 AM Zsolt Ero wrote:
>
> Hi,
>
> I have my webtest based testing set up like the following.
>
> @pytest.fixture(scope="session")
> def app():
> testing_config = {
> 'sqlalchemy.url': 'postgresql+psycopg2://x@/x',
> 'redis.sessions.secret': 'x', #
to be addressed? I assume
there'd be a lot of unicode issues.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to pylons-discuss+unsubscr...@google
of the pattern is if your model objects needed access to some
> settings or some other request properties. It's up to you to decide if that's
> good or bad. Of course you don't need to use it.
>
> - Michael
>
> > On Feb 20, 2021, at 17:39, Mike Orr wrote:
> >
&
On Sat, Feb 20, 2021 at 12:57 PM Michael Merickel wrote:
> Check out the new pattern of storing the request in the SQLAlchemy session
> object for easier access in your model layer without threadlocals!
Where is that? I don't see it in 'pyramid-cookiecutter-starter' or the 2.0 docs.
I do
w this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/f51239cb-40c3-4f3d-d52a-7f82b7bce681%40gmail.com.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this gro
Don't forget the 'asbool()'. Without it the 'in_maintenance' text
setting value may be interpreted wrong. E.g., '0' or ' ' or 'false'
would evaluate to True.
On Sat, Jan 9, 2021 at 11:30 AM Mike Orr wrote:
>
> The includeme function takes care of all the tween registration for
> you, so
tenance_tween
>>>
>>>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
I forgot the last line. The end of 'my_tween_factory' needs to 'return
my_tween'.
On Thu, Jan 7, 2021 at 7:05 PM Mike Orr wrote:
> I have a request-logging tween in only a page of code. It's
> straightforward to write from the documentation.
>
> https://pyramid.readthedocs.io/en
from this group and all its topics, send an email to
>> pylons-discuss+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pylons-discuss/CAPX_VWBO5j0im6r0RRKEf%3D%3DzXyx5y_Qp%3DUJ5bntEGQtdiDejKQ%40mail.gmail.com
>>
On Sun, Oct 18, 2020 at 1:22 PM Bert JW Regeer wrote:
>
> Your body_file is not bytes, but str. You need to make sure that what you
> pass to body_file returns bytes.
I thought that but 'writer = csv.writer(response.body_file)' works for
me, and my row items are 'str'. In Python 2 I had to
On Sat, Oct 17, 2020 at 12:06 AM Mike Orr wrote:
>
> I'm migrating user-uploaded files from a local filesystem to MinIO (an
> S3-compatible file server). I can't use FileResponse because I get
> back a filehandle or a bytes, and I'd have to write it to a temporary
> file to use F
'body_file=result["body"]', which is the
filehandle and has a 'read' method. What is 'wsgi.file_wrapper'
anyway?
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving
<https://groups.google.com/d/msgid/pylons-discuss/d0a0d404-f081-41f8-865f-b073ed17bc78n%40googlegroups.com?utm_medium=email_source=footer>.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "pylons-discus
On Sat, Oct 3, 2020 at 10:10 AM Mike Orr wrote:
> I tried using Deform/Peppercorn but I got frustrated at how it separates
> validation and type conversion
I meant Colander/Peppercorn. Deform was higher-level than I needed.
Rewriting my Formencode schemas was a paradigm shift and I
> I have a lot of apps using Formencode and will likely need to move off it.
> It's no longer maintained, and needs to a patch/fork to run under Python3.
> That's been fine for internal apps, but it's a pain for open sourced efforts.
I'm using Formencode in Python 3. When I was finally able to
d an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/CAKw-smCUE%3DwgPfvFLpR9%2B21r_2gey27hHYopxOK43LYzHor76w%40mail.gmail.com.
--
Mike Orr
--
You received this message because
On Fri, Aug 28, 2020 at 7:27 PM p...@thirdfloor.com.au
wrote:
>
> Hi.
>
> We have a non-trivial Flask app that I'm in the process of moving chunks of
> to Pyramid and would like to get some input on options for how we run two
> systems until the whole lots is migrated.
>
> The data layer is
; email to pylons-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/20200517153659.6c6d25ec%40linuxawk.wegge.dk.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
&q
66%40googlegroups.com.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To view t
someday.
Do you have any advice on these tradeoffs?
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to pylons-discuss+unsubscr...@google
t; Michael
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To
patible? We don't have the resources to migrate
it to Pyramid; the next migration will probably be Javascript. (We
already have a Javascript mobile app; we just need to port it to the
web and work around it needing a SQLite database.)
--
Mike Orr
--
You received this message because you
I've gone completely away from scoped sessions. In the main function I
create two engines for two databases as registry attributes
('request.registry.sa_engine_main'). My request subclass has two
reified properties ('request.registry.sa_session_main') that
initialize a session and hook it into
On Tue, Sep 17, 2019 at 1:42 AM Julien Cigar wrote:
>
> On Sun, Sep 15, 2019 at 11:22:40AM -0700, Mike Orr wrote:
> > On Thu, Sep 12, 2019 at 2:13 PM Mikko Ohtamaa
> > wrote:
> > >
> > >
> > >For static assets and such - they should not be served f
On Sun, Sep 15, 2019 at 11:34 AM Mike Orr wrote:
> Regarding performance, I usually use Waitress but I hvae one
> application that's higher-volume than the others and it bogged down in
> stress tests but when we switched it to uWSGI the problems went away.
> The downside is uWSGI
On Sat, Sep 14, 2019 at 12:24 AM Bert JW Regeer wrote:
> There's upsides and downsides to all of them. Pre-fork is great if you want
> to save some memory and have the ability to kill processes in the future,
> prefork + threaded allows you to handle many requests with a single forked
> child,
On Thu, Sep 12, 2019 at 2:13 PM Mikko Ohtamaa wrote:
>
>
>For static assets and such - they should not be served from WSGI in the first
>place and you can nicely offload this to CloudFlare or similar automatically .
What if they're access-restricted to certain groups of users? I have
my public
iving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/fc586c8e-7068-4443-8a7b-3cc9808e4cd7%40googlegroups.com.
--
Mike Orr
--
You received this message because you a
m input from
scratch. So I want to avoid that.
On Sat, Jun 8, 2019 at 9:40 AM Mike Orr wrote:
>
> To follow up, I got OAuth/Keycloak authentication working with the
> following code pattern. The userinfo contains only name/email-related
> attributes, not the role attributes
To follow up, I got OAuth/Keycloak authentication working with the
following code pattern. The userinfo contains only name/email-related
attributes, not the role attributes and origin directory info I need
to calculate Pyramid pincipals. (Origin directory = where the user is
defined; e.g., an
On Fri, May 31, 2019 at 9:12 AM Theron Luhn wrote:
>
> > But what should I say? If it's not a real human then I can just return
> an Internal Server Error, but if it's a person suffering a
> malfunctioning server or network then i want to give a polite message.
> and what would be the right thing
ay, May 30, 2019 at 8:57:28 PM UTC-4, Mike Orr wrote:
>>
>> - What should I do if there's a state mismatch? I don't want to give
>>
>> the user an Internal Server Error, or tell them they're bad when
>> there's nothing they can do about it.
>
>
> If there
OK, I got it working enough to authenticate the user and get a
userinfo dict, but it doesn't have the all-important roles
information. I may need to add some scopes; I'm asking the server
admin about that. The original problem was I received an incomplete
authorization URL, '/auth' instead of
ptout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To post to this
On Tue, May 21, 2019 at 4:14 PM Jonathan Vanasco wrote:
>
> Thanks for the kind words. This was actually pretty fast to do. I think it
> took 2-3 days to build oAuth into our apps and almost everything was
> repackaged into this within that same week. This has been sitting in a
> private
end an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/75af89f8-fb92-40e7-a014-aca324943e17%40googlegroups.com.
> For mo
le of configuring
it for a non-Big-Name provider or specifically Keycloak?
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to pyl
On Sat, Apr 27, 2019 at 1:34 PM Michael Merickel wrote:
>
> The session and sessionmaker are only necessary if you want to hook into
> pyramid_tm, because zope.sqlalchemy requires a session object and won't work
> with a simple connection. That being said, I would want to such that
>
On Wed, Mar 20, 2019 at 2:12 PM Jonathan Vanasco wrote:
>
>
>
> On Wednesday, March 20, 2019 at 2:22:12 PM UTC-4, Michael Merickel wrote:
>>
>> The hackiest option possible is to just set a global variable somewhere when
>> you use bootstrap. Otherwise you could use a custom setting.
>
>
> Oh, I
On Tue, Sep 25, 2018 at 8:18 AM Michael Merickel wrote:
>
> On Tue, Sep 25, 2018 at 10:09 AM Mike Orr wrote:
>>
>> On Mon, Sep 24, 2018 at 3:21 PM Michael Merickel wrote:
>> > We'd deprecate it in 1.10 and remove it in 2.0 as we're planning to do
>> > with
ut.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To post to this group,
ns-discuss/CAPX_VWAWwAbA6MAWHP_2C-3PxfKiXktt1mecJHp5aokeZVOwdA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this g
key containing the errors for
the invalid fields. I read that HTTP 422 Unprocessable Entity is the
correct response to a request that contains syntactically valid JSON
but the data values are invalid.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
&qu
oup and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/CAJYR-0P%2BnSjccnX
On Wed, Dec 26, 2018 at 11:18 PM Gerhard Schmidt wrote:
>
> Hi Mike,
>
> Am Mittwoch, 26. Dezember 2018 19:04:37 UTC+1 schrieb Mike Orr:
>>
>> On Wed, Dec 26, 2018 at 12:28 AM Gerhard Schmidt wrote:
>> > is it possible to store additional information in the
On Wed, Dec 26, 2018 at 12:28 AM Gerhard Schmidt wrote:
> is it possible to store additional information in the view config.
>
> Background is that i would like to add more information the the view
> processed later by the layout tho generate the navigation of a page
> automatically.
>
> I would
On Mon, Dec 10, 2018 at 12:56 PM Michael Merickel wrote:
>
> On Mon, Dec 10, 2018 at 12:21 PM Bert JW Regeer wrote:
>>
>> Pyramid also by default supports all of the "secure" parts of the cookie.
>> There are no extra flags that can't already be set using Pyramid.
>>
>> Using the Secure package
On Fri, Dec 7, 2018 at 2:25 AM Caleb wrote:
> All, I would appreciate any feedback on a lightweight security headers
> and cookie attribute project for Python web frameworks (including Pyramid)
> called Secure . Secure lets developers easily set security headers and
> secure cookies with
subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To view t
On Mon, Oct 8, 2018 at 9:20 AM Lukasz Szybalski wrote:
> Is there a way to force this object to be "read only" or now allow
> modification, to prevent somebody else in some other sections of the code
> accidently modifies request.registry.mycontract?
def __setattr__(self, attr, value):
if
.
Is there a timeline for Pyramid 2? 2018 or 2019?
On Tue, Sep 25, 2018 at 8:18 AM Michael Merickel wrote:
>
> On Tue, Sep 25, 2018 at 10:09 AM Mike Orr wrote:
>>
>> On Mon, Sep 24, 2018 at 3:21 PM Michael Merickel wrote:
>> > We'd deprecate it in 1.10 and remove
On Mon, Sep 24, 2018 at 3:21 PM Michael Merickel wrote:
> We'd deprecate it in 1.10 and remove it in 2.0 as we're planning to do with
> pickle-based sessions [2].
Why are pickle-based sessions being removed? I switched my serializers
to JSON but later switched them back because it was useful to
eb visit
> https://groups.google.com/d/msgid/pylons-discuss/4a1798f8-488f-4c20-b62a-544b8d1dd23f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
Mike Orr
--
You received this message because you are subscribed to the Google Groups
"pylons-discus
On Wed, Sep 19, 2018 at 4:54 AM Steve Piercy wrote:
> I'd like to get your feedback—either here in the group, by
> personal email, or IRC—on whether the Pylons Project and all
> of its projects with documentation built and hosted by Read The
> Docs for free should display Ethical Ads.
Sure. I
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/7a80f3d2-e4bc-46a5-bffe-16268fef947f%40googlegroups.com.
egroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/148c7bec-2d75-4525-9aa4-3902a4a2f2cb%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
Mike Orr
--
You received this message because
On Sun, Sep 2, 2018 at 7:31 AM wrote:
> If requests during their life cycle would derive from threading.local and
> initialize such a storage area upon construction (e.g. after tween ingress)
> and tear it down (e.g. after tween egress) then deeply nested function could
> still access a
m.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/r480Ps-10126i-B34B8613FB90482C9F312FBC6DFE9FE9%40cns316-6061fsn.univ.fairfield.local.
>
> For more options, visit https://groups.google
On Sat, Jun 23, 2018 at 5:57 AM, Gael Pasgrimaud wrote:
> WebTest 2.0.30 has been released.
>
> Here are the changes:
>
> - Add ``Email`` class for input fields with type "email".
>
> - Documentation bearer token and JWT authorization
What is a bearer token and JWT authorization? Does that mean
p receiving emails from it, send
>> > an email to pylons-discus...@googlegroups.com.
>> > To post to this group, send email to pylons-...@googlegroups.com.
>> > Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
>> > For more options, visit https:/
c98c6e583%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, se
b visit
> https://groups.google.com/d/msgid/pylons-discuss/c9d8ab37-b764-4d2b-8a4a-0470cdf7f4bd%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
Mike Orr <sluggos...@gmail.com>
--
You received this message because you are subscribed to the
s
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To view this discussion on the web vi
Correction.
15. So I changed my code thus:
``extra_environ = {"HTTP_HOST": "localhost:443", "wsgi.url_scheme": "https"}
apptest.webtest.TestApp(app, extra_environ=extra_environ)''
On Wed, Oct 11, 2017 at 3:51 PM, Mike Orr <sluggos...@gmail.co
quot;: "https"}
apptest.webtest.TestApp(app, extra_environ=extra_environ)''
Presto, it works!
I'm not sure if 'webtest' should be smarter, or if so exactly how. But
at least this solves this underlying problem.
Is there anything else I should do to more completely mimic an HTTPS request?
>
glegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>>
>> --
>> Mikko Ohtamaa
>> http://opensourcehacker.com
>> http://twitter.com/moo9000
>>
> --
> You received this message because you are subs
On Mon, Sep 25, 2017 at 10:40 PM, Mike Orr <sluggos...@gmail.com> wrote:
> On Mon, Sep 25, 2017 at 9:00 PM, Mike Orr <sluggos...@gmail.com> wrote:
>> On Mon, Sep 25, 2017 at 5:47 PM, Michael Merickel <mmeri...@gmail.com> wrote:
>>>> So what's the best way fo
On Mon, Sep 25, 2017 at 9:00 PM, Mike Orr <sluggos...@gmail.com> wrote:
> On Mon, Sep 25, 2017 at 5:47 PM, Michael Merickel <mmeri...@gmail.com> wrote:
>>> So what's the best way forward?
>>
>> I think you covered your options pretty well.
>>
>> 1
uestion of what is WebTest's Origin
header, what should it be, why are they different, and does something
need to be changed in the library?
--
Mike Orr <sluggos...@gmail.com>
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsub
than ideal because
I'd rather have CSRF checking work rather than be bypassed in tests.
So what's the best way forward?
--
Mike Orr <sluggos...@gmail.com>
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this g
...@googlegroups.com.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/r473Ps-10126i-561A0A6A1F7845678C43C4D5A6F32211%40Steves-iMac.local.
>
> For more options, visit
On Fri, Jul 14, 2017 at 2:10 AM, Christoph Zwerschke wrote:
> In the latter case you would use Pyramid only as a GraphQL or REST server,
I just attended a Javascript conference and there was a talk on
GraphQL and I was quite impressed. I haven't used it yet but it allows
users to
On Wed, Jun 21, 2017 at 9:28 AM, Jonathan Vanasco wrote:
> I typically spec out applications like this:
>
> * Everything in `/account` is via HTTPS with a secondary HTTPS-only session
> (that has a different timeout the default session), and login-status
> requires a recent
that needs CSRF
tokens is the login form.
--
Mike Orr <sluggos...@gmail.com>
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to pylons-discuss
1 - 100 of 1878 matches
Mail list logo