Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 
RSS: Fil ☂
tous les messages de Fil ☂

Fil ☂

@fil

geek — fil@rezo.net - https://twitter.com/recifs

http://rezo.net
  • Fil ☂ @fil 9/03/2011 21:39
    2
    @aris
    @rastapopoulos
    2

    #Webshell: A console-based, JavaScripty #HTTP client utility
    by Evan Haas and Sean Coates
    https://github.com/fictivekin/webshell#readme

    Includes tab completion, history, context persistence, cookies and other tasty morsels.

    Webshell supports all of the HTTP verbs in a simple to use syntax. The response’s #status code (and the requested URL) are printed. #Headers are expanded to local variables, and they can be inspected. Additionally, if the response suggests a redirect to another URL, the $.follow() function can be called for easy location following.

    http://localhost# GET http://google.com
    HTTP 301 http://google.com
    http://google.com# $
    .headers
    { location: ’http://www.google.com/'
    , ’content-type’: ’text/html; charset=UTF-8’
    , date: ’Sat, 06 Nov 2010 17:38:56 GMT’
    , expires: ’Mon, 06 Dec 2010 17:38:56 GMT’
    , ’cache-control’: ’public, max-age=2592000’
    , server: ’gws’
    , ’content-length’: ’219’
    , ’x-xss-protection’: ’1; mode=block’
    , connection: ’close’
    }
    http://google.com# $_.headers.location
    ’http://www.google.com/'

    • #France
    • #http
    • #Sean Coates
    • #Evan Haas
    • #JSON
    • #CAC 40
    • #Total
    Fil ☂ @fil
    • Seenthis @seenthis CC BY-NC 9/03/2011 21:42

      Ouh, bien tenté. C’est là qu’on s’en rend compte : Seenthis n’est vraiment pas fait pour poster du code informatique :-))

      Seenthis @seenthis CC BY-NC
    • Fil ☂ @fil 9/03/2011 21:45

      oui dommage ; et en plus j’ai enlevé les « > »

      Fil ☂ @fil
    • Fil ☂ @fil 29/03/2011 16:24

      est-ce que, si une ligne commence par « # » dièse espace (par exemple), #seenthis pourrait la typographier en mode « code » ?

      Fil ☂ @fil
    Écrire un commentaire

thèmes

  • #headers
  • #http
  • #status
  • #webshell

  • Technology: http
  • Country: France
  • Person: Sean Coates
  • Person: Evan Haas
  • Technology: JSON
  • MarketIndex: CAC 40
  • Company: Total
thématisation automatique par OpenCalais
À propos de Seenthis Propriété intellectuelle Recommandations API