Tag Archives: HTTP

Professional Webdevelopers At Work – Yahoo Mail Endless Redirect Demonstration

So familiar with these 1996 Web-Technologies but not having the time to care in these rushing 201x days as this two minute documentary of an endless redirect-chain shows. Thanks to random URL parameters used to prevent ancient caching woes in … Continue reading

Posted in Professional Webdevelopers At Work | Tagged , , , , , , , | Leave a comment

Architecture the Lost Years (Robert Cecil Martin; 4 Nov 2011)

Did worldwide Hypertext turned software developers out in the field upside-down? In Architecture the Lost Years (1h 06m) Robert C. Martin talks about the web and how it influenced development design decisions in the last decade(s). Is the system the … Continue reading

Posted in Developing, Hakre's Tips, Linked, Pressed, Surviving the Internet | Tagged , , , , , , , , , | 1 Comment

Richardson Maturity Model: steps toward the glory of REST

Richardson Maturity Model: steps toward the glory of REST, also HATEOAS.

Aside | Posted on by | Tagged , , , | Leave a comment

HEAD first with PHP Streams

PHP has a built-in function called get_headers that will return the response headers. But it has some downsides, like requesting the whole response (and not only the HEAD) and it’s hard to control behaviour for redirects. On Stackoverflow some users … Continue reading

Posted in Hakre's Tips, PHP Development, Pressed | Tagged , , , , , , , | 1 Comment

getallheaders available for FASTCGI in PHP 5.4

Good news. PHP 5.4 – according to docs – will support the “apache alias” getallheaders(). That means, you can get all header values of the request w/o fiddling any longer with server configuration. N1. Read On: What new feature in … Continue reading

Posted in Linked, PHP Development, Pressed | Tagged , , , , , , , | 5 Comments

Improved handling of HTTP requests in PHP

Improved handling of HTTP requests in PHP Merci beaucoup Nicolas Grekas for compiling this in-depth! Read On: getallheaders available for FASTCGI in PHP 5.4 (18 Jul 2011)

Posted in Linked, PHP Development, The Know Your Language Department | Tagged , , , | 1 Comment

HTTP Redirect Codes (3xx) and the Location Field

Over the last days some including me have opened tickets in wordpress trac touching the HTTP transport layer and redirection in specific. As with my previous HTTP related review of worpdress, this is getting more and more interesting and detailed … Continue reading

Posted in Hacking The Core, Pressed | Tagged , , , , , , , , , | 1 Comment

How to Debug Redirect Problems in WordPress

A nice Sunday over here and time to begin the day with some good news: The Better HTTP Redirects (WordPress Plugin) just got even better! I’ve added some improvement in the brand-new 1.2 version that is a helping hand if … Continue reading

Posted in Plugin Plugout, Pressed, WordPress Support | Tagged , , , , | Leave a comment

HTTP Strict Transport Security (HSTS)

HTTP Strict Transport Security (HSTS) –

Aside | Posted on by | Tagged , , , , | 1 Comment

PHP: Compare vs. Calculating (1/2)

This speed comparison test I’ve made is not of that much interest, but it shows somehow when / how optimization takes place. Those “performance” test are most likely not that valuable for optimizations but to better know the language. I … Continue reading

Posted in Hacking The Core, Pressed | Tagged , , , , , | 3 Comments

Normalize URLs 1.0 released

My latest plugin release fixes multiple core wordpress problems to handle HTTP requests properly at once: Normalize URLs. It does so by normalizing every incoming URL to a form that is to be expected by the wordpress core. That way, … Continue reading

Posted in Hakre's Tips, Plugin Plugout, Pressed | Tagged , , , , , , , , , , | 2 Comments

Redirect Loop Protection for Better HTTP Redirects Plugin

Some wordpress user were concerned about Google webmaster tools giving notice about redirect errors (same page redirects). There is a flaw in the current canonical redirect implementation. That is the part of wordpress that takes care that all your site’s … Continue reading

Posted in Hacking The Core, Plugin Plugout, Pressed | Tagged , , , , , | Leave a comment

Apache 1.3 Default 300-307 Server Responses

I had run a testscript (see below) that is a bit whacky but working to gather server responses somehow automatically to get a servers default answers. It is written in PHP and needs curl to be available and a server … Continue reading

Posted in Scripts, Tools | Tagged , , , , | Leave a comment

Better HTTP Redirects 1.0 released

I just have released a new wordpress plugin called Better HTTP redirects. Well I know the name is not very creative and having “better” in a title does not make it even better. The plugin aims to add more HTTP … Continue reading

Posted in Plugin Plugout, Pressed | Tagged , , , , , , , | Leave a comment

wordpress HTTP and header related tickets

I’ve done some massive HTTP stuff lately which included a full re-read of some (all?) HTTP releated RFCs – some of them I first studied years ago. It’s not that simple as it was back those years, but it’s good … Continue reading

Posted in Hacking The Core, Pressed, Surviving the Internet | Tagged , , , , , , , , | 2 Comments

HTTP Status Codes in Use

This is a collection of HTTP Status Codes references by the IETF that are currently in use

Posted in Hacking The Core, Pressed, Surviving the Internet | Tagged , , , , , , , , , , , , , , , , , , | 1 Comment

HTTP/HTML: Missing HTTP-Body/HTML on Redirect

This bothers me often: unfriendly redirects.

Posted in Code Smells, Hacking The Core, Surviving the Internet | Tagged , , , , , , , | Leave a comment

Prevent XSS on your wordpress Blog with CSP

CSP – short for Content Security Policy – is a Mozilla driven specification to reduce or eliminate a site’s XSS attack surface. In Ticket #10237 Denis De Bernardy suggested to implement the new Mozilla feature to prevent XSS. That was … Continue reading

Posted in Hacking The Core, Hakre's Tips, Patched, Plugin Plugout | Tagged , , , , , , , , , , , , , | 1 Comment

QueryPath – Find your Way

QuerPath is another PHP library for working with XML and HTML. Licensed under LGPL/MIT it self-announces it with the following features:

Posted in Hakre's Tips, PHP Development, Tools | Tagged , , , , , , | Leave a comment