Merge pull request #614 from johndouthat/patch-1
Fix typo base46 -> base64
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -398,16 +398,16 @@ Example: retrieving google logo image encoded in base64:: | ... | @@ -398,16 +398,16 @@ Example: retrieving google logo image encoded in base64:: |
398 | You can also perform an HTTP POST request to retrieve the contents to | 398 | You can also perform an HTTP POST request to retrieve the contents to |
399 | encode:: | 399 | encode:: |
400 | 400 | ||
401 | var base46contents = null; | 401 | var base64contents = null; |
402 | casper.start('http://domain.tld/download.html', function() { | 402 | casper.start('http://domain.tld/download.html', function() { |
403 | base46contents = this.base64encode('http://domain.tld/', 'POST', { | 403 | base64contents = this.base64encode('http://domain.tld/', 'POST', { |
404 | param1: 'foo', | 404 | param1: 'foo', |
405 | param2: 'bar' | 405 | param2: 'bar' |
406 | }); | 406 | }); |
407 | }); | 407 | }); |
408 | 408 | ||
409 | casper.run(function() { | 409 | casper.run(function() { |
410 | this.echo(base46contents).exit(); | 410 | this.echo(base64contents).exit(); |
411 | }); | 411 | }); |
412 | 412 | ||
413 | .. index:: bypass, Step stack | 413 | .. index:: bypass, Step stack | ... | ... |
-
Please register or sign in to post a comment