Friday, 2 March 2012

How to generate a HTTP 400 error from a client

First blog post in a while! I have hardly had any free time... Will blog about it soon!

Anyway, I have needed to generate a 400 error on a server in order to test something - I tried a few things without success and then I discovered that the easiest way to generate a 400 error from a client is simply to add a percentage symbol (%) to the request.

For example, should generate a 400.

Before I found out I could use the percentage symbol, I was looking for a method involving telnet/direct connections. Oliver Salzburg on Super User came up with the following -

... I don't know if this will help anyone, but, if I had found a post like this earlier today, it would have saved me quite a bit of time, so, I hope someone will find it useful!


  1. Replies
    1. Sekarang pria tak perlu khawatir kalau terjadi masalah pada organ vitalnya karena sekarang tersedia obat kuat seperti pil biru di semarang untuk memperbaiki peforma seksual anda, satu blister viagra berisi 4 tablet bewarna biru dengan kandungan senyawa yang menghambat produksi PDE-5 kalau PDE-5 berkurang maka alat kelamin dapat tenang dalam durasi lama sehingga kegiatan seks bisa bertambah nikmat, silahkan membelinya ditoko obat kuat di semarang timur paling terkenal mutu dan kualitasnya dijamin original.

      dalam menentukan produk obat kuat pria , patutnya anda berhati-hati terhadap segala kecurangan penipu karena tak hanya obat kuat herbal jenis pil biru tetapi merek lain juga dipalsukan atau dioplos menggunakan bahan lain sehingga berbahaya bagi tubuh termasuk organ intim pria, resiko konsumsi produk palsu biasanya sering sakit kelapa, mual, alat vital sulit terangsang bahkan dapat memicu impotensi.

  2. the author is an executive of Wensil I Technologies and writing articles for.
    So you send a tweet with a link to your perk, and build an email list.
    Ask your friends and followers to digg, retweet a post for you because that will feature you on the Digg homepage and you will surely have increased number of followers on twitter.

    Also visit my web page - Buy Twitter Followers cheap

  3. Worked like a charm, thanks!

  4. Al-Mu'akh-khir (The Delayer) He Has the Power to Delay any affair that He desires. A Yemeni in Aden, a former British colony was quoted in 2009 saying,“Most of what we have is what the British built when they were here. Later, in the medieval period astrolabes were specifically used as a navigating device to find the location of Kaaba in Mecca.

    Feel free to surf to my webpage - islamic resources group

  5. Wow, Excellent post. This article is really very interesting and effective. I think its must be helpful for us. Thanks for sharing your informative.
    Buy Twitter Followers

  6. Coach Outlet

    Christian Louboutin Shoes

    Valentino Shoes

    Michael Kors Outlet

    Coach Factory Outlet

    Coach Outlet Online

    Coach Purses

    Kate Spade Outlet

    Toms Shoes

    Hermes Belts

    Louis Vuitton

    Fendi Handbags

    Giuseppe Shoes

    Michael Kors Outlet

    Stephen Curry Shoes

    Salomon Shoes

    North Face Outlet

    Coach Outlet

    North Face Outlet

    Burberry Outlet

    North Face Outlet

    North Face Jackets

    Skechers Shoes

    Toms Outlet

    North Face Outlet

    Nike Air Max

    Nike Hoodies

    Marc Jacobs Handbags

    Marc Jacobs Outlet

    Jimmy Choo Shoes

    Jimmy Choos

    Burberry Belt

    Louis Vuitton Belt

    Salvatore Ferragamo

    Marc Jacobs Handbags

    Lululemon Outlet

    True Religion Outlet

    Tommy Hilfiger

    Michael Kors Outlet

    Coach Outlet

    Red Bottoms

    Kevin Durant Shoes

    New Balance Outlet

    Adidas Outlet

    Coach Outlet Online

    Stephen Curry Jersey

    Vans Outlet

    Ralph Lauren Outlet

    True Religion Outlet

    ED Hardy Outlet

    North Face Outlet

    UGG Outlet

    UGG Outlet

    North Face Outlet

    Ugg Boots Sale

    UGGS For Women

    Skechers Go Walk

    Adidas Yeezy Boost

    Adidas Yeezy

    Adidas NMD

    Coach Outlet

  7. While there's still plenty of progress to be made, the fashion industry has taken yet another step forward in terms of diversity. Nordstrom recently made headlines valentino boots thanks to a model the department store featured in its holiday ads: 28-year-old giuseppe shoes amputee Lauren Wasser.After she lost her leg to toxic shock syndrome, a friend valentino shoes took pictures of Lauren as she recovered, which soon inspired her to continue red bottoms shoes pursuing her dream of modeling. And while her scary story made headlines this red bottoms shoes on sale past Summer — Lauren filed lawsuits against Kotex, the manufacturer of the tampons, red bottoms shoes and Ralphs, the supermarket that sold them to her — it's her talent authentic christian louboutin outlet that's stealing the spotlight now. Showing off her leg and prosthetic in leggings jimmy choo outlet and kicks, she's finally back at it and looking oh so fierce.Keep scrolling giuseppe zanotti sneakers to see the model do her thing, both in Nordstrom's ads and beyond, cheap louboutin shoes further proving that indeed, nothing is impossible.
    While the world was buzzing about red sole shoes christian louboutin Steve Harvey crowning the wrong Miss Universe at the pageant on Sunday, we christian louboutin sale were focused on Chloë Grace Moretz's Twitter feed. The 18-year-old actress called out christian louboutin shoes

  8. Questo è simile allo stesso tipo di rischio che le persone con pressione sanguigna alta hanno - e anche che i fumatori hanno. Quel che è peggio è ... è possibile che oltre il contatore rimedi potrebbero aggravare il problema.

  9. As per the Federal Reserve, Americans bear $5,800 in charge card obligation from month to month. Making the base regularly scheduled installment on that obligation would take 30 years to pay off, and incorporate an extra $15,000 in intrigue. Cash Advance

  10. Acheter Maillot Coupe Du Monde 2018 comme votre numéro un joueur est un gros plus pour passer une commande.
    La saison de football fournit encore plus de raisons d'acheter une bonne qualité Maillot Pas Cher.
    Les fans doivent avoir une bonne Sac Michael Kors Pas Cher pour représenter leur équipe préférée.
    Il peut y avoir beaucoup de différence dans la qualité de Maillot De Foot Pas Cher dans notre boutique en ligne.
    Maillot Foot Pas Cher bon marché peut vous fournir beaucoup de choix pour vous s'il vous plaît.
    Toute période de l'année est un bon moment pour acheter Chaussures Louboutin Pas Cher, et vous pouvez même l'avoir personnalisé, si vous le souhaitez.
    Comment obtenir les mêmes normes de haute qualité dans la Maillot De Foot Pas Cher?
    Maintenant, consultez notre site Web complet à la meilleure Maillot Foot Pas Cher.

  11. Michael Kors handbags can now be found on many discounted sites for fractions of retail prices. The best option for individuals wanting to own Michael Kors handbags is to shop at online discount stores. A great place to shop for these luxury bags is eBay.
    Friendly Links: Michael Kors Handbags Sale Clearance | Michael Kors Outlet Store

  12. [url=""]شركة نقل عفش[/url]

  13. A pesar de que los bolsos MK son lo que he acuñado como "lujo asequible", una persona con los presupuestos más ajustados puede tener dificultades para comprar una bolsa por cien dólares o más.(Bolsos Michael Kors Rebajas) MK tiene bolsos que van de pequeño, mediano a grande. y varían en precios.(Bolsos Michael Kors Baratos) Los bolsos más pequeños ni siquiera son bolsos ... se llaman muñequeras.(bolsas michael kors precios) O, los uso para billeteras para ciertos bolsos.(Bolsos Michael Kors Outlet) Es mucho más barato hacerlo de esa manera que tratar de tener. una billetera para cada bolso MK que poseas.(bolsos michael kors rebajas)

    Om du planerar att äga en MK handväska och inte vill betala mycket över hundra dollar, är det bästa alternativet att vara den mindre väskan.(Michael Kors Plånbok)Om du är seriös om att hitta MK handväskor för mindre än du bättre tittar på någon annanstans.(MK Väska) Hemligheten att hitta MK handväskor till rabatterat pris är att handla online på en webbshop som säljer autentiska MK handväskor.(Väskor Michael Kors Rea) Du kan hitta bra handväskor till priser som du bara önskat att du kunde betala.(michael kors väska rea) Alla sökningar har gjorts för dig. Jag sparar inte bara pengar, utan också tid.(michael kors väska rea)

    Les sacs à main Longchamp sont à la mode et très pratiques.(Longchamp Soldes Destockage) Étant donné que beaucoup de femmes se retrouvent souvent submergées de choses à emporter chaque jour.(Sac A Main Longchamp) Longchamp a relevé le défi en créant des sacs à main qui sont aussi des fourre-tout polyvalents.(Sac Longchamp Pliage)Les sacs à main Longchamp sont des produits de qualité portant un nom réputé.(longchamp soldes) Les sacs à main Longchamp sont grands et spacieux, mais restent très à la mode et très demandés.(pronote college longchamp)

  14. Thanks for the marvelous posting! I actually enjoyed reading it, you will be a great author. I want to encourage continue your great writing. Thanks for sharing your nice topic.
    Best website to buy instagram followers

  15. Both things are possible if you carry Michael Kors Handbags Wholesale. If you are a woman who goes for innovative designs, a designer Michael Kors Bags On Sale is perfect for you. Offering a huge selection of chic purses, handbags, shoes and accessories, Michael Kors Outlet Online Store celebrates womanhood in an entirely unique way. Michael Kors Factory Outlet Online Store At Wholesale Price are one of the most sought-after handbags worldwide. We all agree that diamonds are a woman's best friend; however Official Coach Factory Outlet Online are absolutely next in line. To Coach Outlet Sale aficionados, don't fret because we have great news: a discount Official Coach Outlet Online isn't hard to find. If you are a smart shopper looking for a good buy and great deals on your next handbag purchase, you can go to Official Coach Outlet Online.

    Friendly Links: Toms Shoes Womens | Toms Clearance