No X-PJAX header in request #58

Closed
opened 2016-01-13 22:24:34 -05:00 by intositeme · 6 comments
intositeme commented 2016-01-13 22:24:34 -05:00 (Migrated from github.com)

It works, but the request header looks like it's missing the X-PJAX header, trying to setup my backend to just return body content for pjax request.

It works, but the request header looks like it's missing the X-PJAX header, trying to setup my backend to just return body content for pjax request.
darylteo commented 2016-01-14 17:43:31 -05:00 (Migrated from github.com)

@intositeme yup! I mentioned this in another issue and will put it in the next release.

@intositeme yup! I mentioned this in another issue and will put it in the next release.
MoOx commented 2016-01-17 02:07:19 -05:00 (Migrated from github.com)

The point of this plugin is that you should not need it, since this plugin can work without any server change.

The point of this plugin is that you should not need it, since this plugin can work without any server change.
darylteo commented 2016-01-17 05:10:23 -05:00 (Migrated from github.com)

I think there might be merit in partial loads as a progressive optimisation step. Some people might be coming from jquery.pjax (hence the need for containers). I defer decision to you of course (and I haven't yet had the need for it at present in this project).

I think there might be merit in partial loads as a progressive optimisation step. Some people might be coming from jquery.pjax (hence the need for containers). I defer decision to you of course (and I haven't yet had the need for it at present in this project).
intositeme commented 2016-01-17 19:37:57 -05:00 (Migrated from github.com)

Oh so @darylteo will you be implementing it?
It'll be handy to have, since then i can set my server to just return necessary content and not html headers etc.

I'm using Laravel with it, and it has a built in method that particularly checks for the header https://laravel.com/api/5.2/Illuminate/Http/Request.html#method_pjax

Oh so @darylteo will you be implementing it? It'll be handy to have, since then i can set my server to just return necessary content and not html headers etc. I'm using Laravel with it, and it has a built in method that particularly checks for the header https://laravel.com/api/5.2/Illuminate/Http/Request.html#method_pjax
darylteo commented 2016-01-17 19:49:08 -05:00 (Migrated from github.com)

@intositeme i'm just a contributor. As I don't need it at present I won't be spending any time on it (I'm on company time so I can't justify it sorry). I also have to respect the project owner's decisions. Best option for you would be to maintain and fork your own copy.

@intositeme i'm just a contributor. As I don't need it at present I won't be spending any time on it (I'm on company time so I can't justify it sorry). I also have to respect the project owner's decisions. Best option for you would be to maintain and fork your own copy.
BehindTheMath commented 2017-12-19 15:54:40 -05:00 (Migrated from github.com)

The X-PJAX header has been added by #80.

However, there is currently no implementation for a partial load feature.

The X-PJAX header has been added by #80. However, there is currently no implementation for a partial load feature.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iLoveElysia/pjax#58