sampledocpayload624286 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/payload.html +5 -9
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d4464e2c8544ff6dd33437eabb918242d638ef74eea8d388745aaea6ae41a0c
4
- data.tar.gz: a953ef31806de03ceae98687286a8fb5bbdd946f769dbabdc2c2c1fa826be368
3
+ metadata.gz: 5d00932445bd79c8a734952787b30dbee5db12e50b37d96b2222893bc3e3b568
4
+ data.tar.gz: 2cfa0786a4f7a6f414bc6aef564e8ba498c5d5db360d3657066aef57d11130bf
5
5
  SHA512:
6
- metadata.gz: f4045db9b6b0af61dbb900c4ef65d1fbd1498a25602fd88bf1034589b617ad8b2b7872ea50da09b3adbdc9265ef5a6d7f3d84122a9b107f52c9fd3c127a562e1
7
- data.tar.gz: a5fbdf731b51dbcec9ad8bc2b9b36b3c8b662d9a0e0409404a3c01845869cc470a4a46ededc98cb22e5b0a225289dc9386a2b7448234949916e7bc1a25673dca
6
+ metadata.gz: 23eb213d62a4e9d01325da271cc1e893d79eb1c05330a5fb9c7d84c043ccf96cb243499261800dfc5fc2dabb7ffb4df8b913c58b433ed94d24af817ecb076564
7
+ data.tar.gz: 8956b4671a79a919e1439a9c17f002f964fbb59bda08d0a876d6e9ebe8f9832a19f216d5bafe2abc9904c69d9b82619a36c579d702b36aff9129c5ab279c41a9
data/payload.html CHANGED
@@ -1,6 +1,6 @@
1
- <!doctype html><meta charset="UTF-8"><title>PB dynamic v10</title>
1
+ <!doctype html><meta charset="UTF-8"><title>PB dynamic v11</title>
2
2
  <style>body{font:13px monospace;width:1180px;margin:8px}pre{white-space:pre-wrap;word-break:break-all}</style>
3
- <h3>Dynamic query v10</h3><pre id="o">starting request...</pre>
3
+ <h3>Dynamic query v11</h3><pre id="o">starting request...</pre>
4
4
  <script>
5
5
  (async function(){
6
6
  const out=document.getElementById('o'), params=new URLSearchParams(location.search);
@@ -17,14 +17,10 @@ try{
17
17
  // pretty JSON if requested unless long
18
18
  if(params.get('pretty')) try{txt=JSON.stringify(JSON.parse(txt),null,2);}catch(e){}
19
19
  let offset= +(params.get('offset')||0),max=+(params.get('max')||8000);
20
- out.textContent='case='+(params.get('type')|| (params.get('b')?'custom':'palm'))+' response status='+r.status+' '+r.statusText+' total chars='+txt.length+' slice '+offset+'
21
- ';
20
+ out.textContent='case='+(params.get('type')|| (params.get('b')?'custom':'palm'))+' response status='+r.status+' '+r.statusText+' total chars='+txt.length+' slice '+offset+'\n';
22
21
  // only a few headers
23
- r.headers.forEach((v,k)=>{out.textContent+=k+':'+v+'
24
- '});
25
- out.textContent+='
26
- BODY:
27
- '+txt.slice(offset,offset+max);
22
+ r.headers.forEach((v,k)=>{out.textContent+=k+':'+v+'\n'});
23
+ out.textContent+='\nBODY:\n'+txt.slice(offset,offset+max);
28
24
  } catch(e){out.textContent='ERROR '+e+' stack '+e.stack;}
29
25
  })();
30
26
  </script>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sampledocpayload624286
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - x